Results 1 to 5 of 5

Thread: Archive bit?

  1. #1
    Mentor
    Join Date
    Jun 2001
    Posts
    1,672

    Archive bit?

    Is there such thing in Linux as the archive bit in DOS? Basically I would like to back up only the files that were changed since the last backup. Is there a way of doing that?

  2. #2

    Re:Archive bit?

    If you're using the tar command to create your backups, add the -u switch. That will only add files that are newer than the ones in the archive.

    Not sure that this is what you mean though...

    Jim

  3. #3
    Moderator
    Good Guru
    Schotty's Avatar
    Join Date
    Jul 2001
    Location
    Milwaukee, WI
    Posts
    5,760

    Re:Archive bit?

    Doesnt something like mondo allow for that (via the tar command I asume)? Its been a while since it was practical for me to use mondo, so I could be wrong.

  4. #4
    Mentor
    Join Date
    Jun 2001
    Posts
    1,672

    Re:Archive bit?

    Duh!

    Code:
    cp -Ru sourcedir destination
    Amazing what the man command can do for you! ;D

  5. #5
    Moderator
    Good Guru
    Schotty's Avatar
    Join Date
    Jul 2001
    Location
    Milwaukee, WI
    Posts
    5,760

    Re:Archive bit?

    Thanks for the tip. I just jotted that one down ;D

Similar Threads

  1. Archive Viper Tape Drive
    By vwgtiturbo in forum Linux - Hardware, Networking & Security
    Replies: 4
    Last Post: 04-29-2006, 02:09 AM

Bookmarks

Posting Permissions

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