I'm looking for an automated way via Apple script to grab all files from local drive in particually directory (or root to scan all sub folders and files inside) and compare this 'list''to remote ftp and update local files when filenames don't match..
i.e replace _ with a <space> or ' hyphen when needed.
is this easy to do?
I'm not shooing in the dark, the script would make a listing all all folders and files on local dive first so it has something to with..
I was thinkng along the lines of:-
- mount ftp volume on ddesktop
- get list of every folder and file on local drive
- read list and check to see if filename and sizes both match to remote.
- if differences exist, update local drive
move onto next file and repeat..
is Applescript a good choice for this or should i be using software instead, like Beyond Compare for Windows ?
I do know you can use 'diff' on Mac to compare two files, so i would think it would also work for remote as well in script (or similar command)
I've been previously manually renaming and to speed it all up, i've been batch renaming in Finder "Select say 100 files and rename all replacing _ with & etc'
but its time consuming.. looking for alternatives.
i.e replace _ with a <space> or ' hyphen when needed.
is this easy to do?
I'm not shooing in the dark, the script would make a listing all all folders and files on local dive first so it has something to with..
I was thinkng along the lines of:-
- mount ftp volume on ddesktop
- get list of every folder and file on local drive
- read list and check to see if filename and sizes both match to remote.
- if differences exist, update local drive
move onto next file and repeat..
is Applescript a good choice for this or should i be using software instead, like Beyond Compare for Windows ?
I do know you can use 'diff' on Mac to compare two files, so i would think it would also work for remote as well in script (or similar command)
I've been previously manually renaming and to speed it all up, i've been batch renaming in Finder "Select say 100 files and rename all replacing _ with & etc'
but its time consuming.. looking for alternatives.