Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Automated backup of flash drives' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Automated backup of flash drives
Authored by: deleted_user3 on Feb 26, '07 11:21:59AM
I would do something like the following which would prevent overwrites

tell application "Finder"
	activate
	set thedate to (current date)
	set theday to day of thedate
	set themonth to month of thedate
	set theyear to year of thedate
	set thedate to theday & " " & themonth & " " & theyear as string
end tell
do shell script ¬
	"rsync -rt /Volumes/USBdrivename/ ~/USBdrivename-Backup" & thedate
display dialog "USB drive backed up"


[ Reply to This | # ]