Copy Changed Files to new Directory on a mac....

interclubs
interclubs used Ask the Experts™
on
I have a folder called /DevWork/ which contains multiple files and subfolders with files in them. I am looking for a script (applescript?bash?php? Command line? etc..) that I can use to move any files that have changed to a dir called /Backup/

Ideally I want it to maintain paths. So if I modify index.htm in /DevWork/Contact/ ('/DevWork/Contact/index.htm') it would copy it like  like this in my backup dir: ('/Backup/Contact/index.htm')
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
evilrixSenior Software Engineer (Avast)

Commented:
Top Expert 2007

Commented:
Top Expert 2007
Commented:
rsync -av /DevWork /Backup

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial