Shirt Pocket Discussions

Shirt Pocket Discussions (https://www.shirt-pocket.com/forums/index.php)
-   General (https://www.shirt-pocket.com/forums/forumdisplay.php?f=6)
-   -   Shell Script to create new folder for updated files (https://www.shirt-pocket.com/forums/showthread.php?t=5991)

srtemple13 11-25-2009 06:39 PM

Shell Script to create new folder for updated files
 
I'm looking for a way (Shell Script?) SD can backup newer or updated files to a folder named with the date of the backup. This way no files are overwritten (deleted essentially) and you have the choice of how far back you want to go for restoration. It would also allow deletion of older backups no longer needed. Can this be done?

dnanian 11-25-2009 06:56 PM

No, it can't. You could, of course, back up to images and keep multiple images. Say, back up to a current one (called 'current') and then, at some fixed time of the day, run a script that copies 'current' to a date-based name. "current" would always be smart updated, and the older copies of current would be, well, older.


All times are GMT -4. The time now is 10:24 PM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.