Results 1 to 2 of 2
I am working on a shell script which generates an incremental backup for the previous. The backup should contain the exact directory structure of the source files and should overwrite ...
- 01-09-2009 #1Just Joined!
- Join Date
- Apr 2007
- Posts
- 23
Incremental Backup
I am working on a shell script which generates an incremental backup for the previous. The backup should contain the exact directory structure of the source files and should overwrite only files that are modified.
I tried using various options in ls, find to get the physical path of each file but to no avail.
Even the options in find command did not give me the files modified on previous day.
Kindly help.
- 01-09-2009 #2Linux User
- Join Date
- Jun 2007
- Posts
- 318
Without posting the commnds that you tried we can't help you much.
This find command gives me files modified since 1 day ago:
Code:find . -mtime -1


Reply With Quote