I am looking for a program that would allow me to delete files with this type of name ".DS_Store" as well as the files "._xxx" in different folders, these files are created when I copy from a mac to a disk in exfats or in fact, that I would like to transfer to my Amiga.
I tried a lot of programs found on OS 4 repository and also file and directory Opus and even Dirmeup but none of them suit me.
On mac I use Easyfind, I look for the files to delete in the whole disk, it finds them I select everything and I delete.
; $VER: DeleteAllDS_StoreFiles 53.3 (13.03.2019)
; Recursively delete macOS DS_Store and ._ files in the given directory
LIST "{DIRECTORY}" PAT=#?._#? ALL LFORMAT "DELETE %p%n" >T:DeleteAllDS_StoreFiles.{$$}
LIST "{DIRECTORY}" PAT=#?.DS_Store ALL LFORMAT "DELETE %p%n" >>T:DeleteAllDS_StoreFiles.{$$}
REQUESTCHOICE >ENV:DeleteAllDS_StoreFilesAnswer.{$$} Warning! "Do you want to delete all .info files in {DIRECTORY}?" Yes No
;DELETE "{FILE}"
IF $DeleteAllInfoAnswer EQ 1
ECHO deleting
EXECUTE T:DeleteAllDS_StoreFiles.{$$}
Echo "All .info files deleted"
ELSE
ECHO "Not deleting"
ENDIF
UNSET DeleteAllDS_StoreFilesAnswer.{$$}
DELETE DeleteAllDS_StoreFiles.{$$}
it lists all the .DS_Store files to a script file in T: Before proceeding to delete it asks for confirmation to start the process. ("no" will abort).
Thank you very much for your help, In fact Apple has introduced for quite a few years without me knowing this function in the Terminal "DOT_CLEAN" and then the path of the disk or USB key.