sending selected files to remote machine (NOT an incremental backup!)
From: Casey (Casey_at_axelridge.co.uk)
Date: 11/27/04
- Next message: Floyd L. Davidson: "Re: DOS Newline Character"
- Previous message: Jean-David Beyer: "Re: Red Hat 8.0 and backup of all filesystem"
- Next in thread: Dances With Crows: "Re: sending selected files to remote machine (NOT an incremental backup!)"
- Reply: Dances With Crows: "Re: sending selected files to remote machine (NOT an incremental backup!)"
- Reply: Douglas Mayne: "Re: sending selected files to remote machine (NOT an incremental backup!)"
- Reply: Michael Heiming: "Re: sending selected files to remote machine (NOT an incremental backup!)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 27 Nov 2004 08:53:57 -0800
I want to be able to send all recently modified files to a remote
server. I DON'T mean an incremental backup! In fact this isn't
really a backup scenario at all. I have two big discs at home,
one for backup, but only a limited amount of space on my work
machine. I just want to be able to send the files I have worked
on at home in the last 24 hours (say) across, preferably with a
single command, maintaining the dir structure (so that my aliases
and so on will work identically on them, and to avoid problems
with same name files in different dirs).
Here's what I envisage:
1. Identify the recent work files:
find / -mtime -2 -print
(In fact, it'll only be searching through a list of dirs.)
2. Send them to the remote machine, preserving the dir
structure (and attributes). This is where the problem is.
Why not use rsync? AFAIK, rsync can be set to take just files
which match a pattern, but can't be set to take files by mtime
(or other attributes).
Why not use ncftp? Again afaik, ncftp will send dirs recursively
but not selecting by mtime.
It occured to me to use command line ncftpput for each file
individually, but that seems heavy-handed. (Am I wrong?)
Thanks in advance ...
- Next message: Floyd L. Davidson: "Re: DOS Newline Character"
- Previous message: Jean-David Beyer: "Re: Red Hat 8.0 and backup of all filesystem"
- Next in thread: Dances With Crows: "Re: sending selected files to remote machine (NOT an incremental backup!)"
- Reply: Dances With Crows: "Re: sending selected files to remote machine (NOT an incremental backup!)"
- Reply: Douglas Mayne: "Re: sending selected files to remote machine (NOT an incremental backup!)"
- Reply: Michael Heiming: "Re: sending selected files to remote machine (NOT an incremental backup!)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|