Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
25 user(s) are online (11 user(s) are browsing Forums)

Members: 0
Guests: 25

more...

Support us!

Headlines

 
  Register To Post  

Simply delete .DS_Store file as well as ._xxxx in multiple folders with one magic trick.
Just popping in
Just popping in


See User information
Hello everyone,

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.

Does this exist on Amiga or an arexx script?

Thank you for your help.

Go to top
Re: Simply delete .DS_Store file as well as ._xxxx in multiple folders with one magic trick.
Not too shy to talk
Not too shy to talk


See User information
I once made a script in Directory Opus 4
that batched renamed mod.songname to songname.mod
on all files that matched the mod. pattern.

Should be pretty simple to do a script to delete
Mac .DS and ._XXX files.

1989-> A500, A600, A3000, A4000, A1200, CD32, µA1, PegII, A1XE, CDTV, Amy/416D79, A1X5000, Vampire 500 V2+, Vampire 600 V2, Amy-ITX, Denise ITX <-2024
Go to top
Re: Simply delete .DS_Store file as well as ._xxxx in multiple folders with one magic trick.
Just popping in
Just popping in


See User information
@skynet

I uploaded a couple of scripts to os4depot. The archive is named Delete_DS-files.lha

Go to top
Re: Simply delete .DS_Store file as well as ._xxxx in multiple folders with one magic trick.
Just popping in
Just popping in


See User information
@skynet
Should it be "urgent" here is the script.

.KEY DIRECTORY/A
.BRA {
.
KET }

$VERDeleteAllDS_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).

Go to top
Re: Simply delete .DS_Store file as well as ._xxxx in multiple folders with one magic trick.
Just popping in
Just popping in


See User information
Hi all,

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.

And that's it.

But I would have preferred to do it on my X5000.

Go to top
Re: Simply delete .DS_Store file as well as ._xxxx in multiple folders with one magic trick.
Just popping in
Just popping in


See User information
@Tuvok

Unfortunately I can't find it on OS4Depot?

Thanks for the script.

Go to top
Re: Simply delete .DS_Store file as well as ._xxxx in multiple folders with one magic trick.
Just popping in
Just popping in


See User information
Silly question, how do I use the script?

Go to top
Re: Simply delete .DS_Store file as well as ._xxxx in multiple folders with one magic trick.
Quite a regular
Quite a regular


See User information
protect script +s
script dir


Or just
execute script dir

If liberty means anything at all, it means the right to tell people what they do not want to hear.
George Orwell.
Go to top
Re: Simply delete .DS_Store file as well as ._xxxx in multiple folders with one magic trick.
Just popping in
Just popping in


See User information
I don't know what the problem is, but when I want to use the script it tells me "EXECUTE: Invalid directive"?

Go to top
Re: Simply delete .DS_Store file as well as ._xxxx in multiple folders with one magic trick.
Just popping in
Just popping in


See User information
DirScanner (68k program on Aminet) allows you to find all files that ends with .xxx.

Works fine under AmigaOS 4.x and I used it to delete .wav files en-masse after converting them to .mp3 files.

http://aminet.net/package/util/wb/DirScanner

Current Amiga computers: Vampire V4-SA, Sam460ex, A1-X5000/020
Go to top
Re: Simply delete .DS_Store file as well as ._xxxx in multiple folders with one magic trick.
Just popping in
Just popping in


See User information
Thank you very much Cageman this is exactly what I was looking for.

Go to top
Re: Simply delete .DS_Store file as well as ._xxxx in multiple folders with one magic trick.
Just popping in
Just popping in


See User information
@skynet

Happy to help.

Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 2 ( 0 members and 2 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project