Results 1 to 2 of 2
i need some help creating a script to copy files in a directory (excluding any directorys that are in the same location) to a directory of my choosing and if ...
- 03-17-2009 #1Just Joined!
- Join Date
- Mar 2009
- Posts
- 1
Help with backups
i need some help creating a script to copy files in a directory (excluding any directorys that are in the same location) to a directory of my choosing and if the directory doesnt exist, i need an option to create it
any assistance is most appreciated,
Thanks
- 03-17-2009 #2
rsync is a good tool for this kind of thing:
rsync -av <source directory> <destination directory>


Reply With Quote