Find the answer to your Linux question:
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 ...
  1. #1
    Just 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.

  2. #2
    Linux 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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...