Tony101
Suspended / Banned
- Messages
- 391
- Edit My Images
- No
Hello,
I need to copy a load of files from one external drive to another, but I'd like to exclude certain nested folders which have specific filename attributes.
To do this via drag & drop within the Finder would be extremely inefficient as I would be copying terabytes of redundant data which will be immediately deleted (ie. copy a bunch of folders, wait an hour or so for the process to complete successfully, then 'Find' all the folders where the name contains "???" and delete them - repeat with another bunch of folders...until completed).
I think this would be a fairly simple, and vastly more efficient, task carried out via the Terminal, but I have virtually no knowledge of using command lines or scripting etc. (or the pros & cons between "cp", "rsync", "ditto" etc.).
In an ideal world I'd read all the 'man' pages and learn the necessary commands, but this is a one time operation and it would ultimately be quicker to just use the Finder...hence why I'm asking the awesome denizens of TalkPhotography.
Many thanks in advance.
A little more detail...
The folders are organised along the lines of:
(It makes sense to me, but may not be obvious to others)
YYYY
Etc.
Etc.
I want to copy all the folders excluding those which have a filename that contains "RAW" and "www".
Thanks for reading this far and for any information, instructions, advice you can provide.
Cheers!
Tony
I need to copy a load of files from one external drive to another, but I'd like to exclude certain nested folders which have specific filename attributes.
To do this via drag & drop within the Finder would be extremely inefficient as I would be copying terabytes of redundant data which will be immediately deleted (ie. copy a bunch of folders, wait an hour or so for the process to complete successfully, then 'Find' all the folders where the name contains "???" and delete them - repeat with another bunch of folders...until completed).
I think this would be a fairly simple, and vastly more efficient, task carried out via the Terminal, but I have virtually no knowledge of using command lines or scripting etc. (or the pros & cons between "cp", "rsync", "ditto" etc.).
In an ideal world I'd read all the 'man' pages and learn the necessary commands, but this is a one time operation and it would ultimately be quicker to just use the Finder...hence why I'm asking the awesome denizens of TalkPhotography.
Many thanks in advance.
A little more detail...
The folders are organised along the lines of:
(It makes sense to me, but may not be obvious to others)
YYYY
YYYYMMDD
Etc.YYYYMMDD Edits
YYYYMMDD Exports
YYYYMMDD Exports (Press)
YYYYMMDD RAW
www
www press
YYYYMMDDYYYYMMDD Exports
YYYYMMDD Exports (Press)
YYYYMMDD RAW
www
www press
YYYYMMDD Edits
YYYYMMDD Exports
YYYYMMDD Exports (Subject)
YYYYMMDD RAW
www
www (Subject)
YYYYMMDD+DD+DDYYYYMMDD Exports
YYYYMMDD Exports (Subject)
YYYYMMDD RAW
www
www (Subject)
YYYYMMDD Edits
YYYYMMDD RAW
YYYYMMDD+DD+DD Exports
YYYYMMDD Edits
YYYYMMDD RAW
YYYYMMDD Edits
YYYYMMDD RAW
www (updated)
YYYYMMDD RAW
YYYYMMDD+DD+DD Exports
YYYYMMDD Edits
YYYYMMDD RAW
YYYYMMDD Edits
YYYYMMDD RAW
www (updated)
Etc.
Etc.
I want to copy all the folders excluding those which have a filename that contains "RAW" and "www".
Thanks for reading this far and for any information, instructions, advice you can provide.
Cheers!
Tony