Since I uses rsync in a perl script I'd rather prefer to get error codes from
rsync instead of messages at STDOUT. Is there an option which tells rsync it
should return error codes?
Is this possible or do I ask something ridiculous? How is the error handling
done when rsync can't download a file?
In a Perl script I download files with rsync. But when a none existent file from
the remote server is requested, rsync prints error messages if not -q is used.
So I'd rather like to check the existence first (quiet) and then download it
(verbose). Is it possible to check with the following command
Is it possible to use pipes when specifying an inclusion list of files?
I.e. is the following statement possible
rsync -aLPv --include-from - --exclude '*' [source] [destination]
where the - after --include-from denotes STDIN. Is there another way or
syntax to do this? I'd like to use such a sta
> > I'd like to use -L where I used -l so all the rsync'ed sym-/hardliks get
> > replaced with the file the links actually pointing to.
> >
> > How does rsync handle this situation? A full download isn't necessary
> > since the file is already there. Do I have to do the replacement (move)
> > myse
I'd like to use -L where I used -l so all the rsync'ed sym-/hardliks get
replaced with the file the links actually pointing to.
How does rsync handle this situation? A full download isn't necessary
since the file is already there. Do I have to do the replacement (move)
myself or does rsync handle
I've come across this thread lately and would apreciate an option
"--files-from -", so I could pipe the filenames from a perl script to
rsync. Since this option certainly needs the full path with filename,
does this path starts at the end of the server URL? I.e.
rsync -a --files-from - ftp.de.deb
I want to mirror any i386 packages from a debian package mirror with the
following command
rsync -avvP --include-from="file"
ftp.at.debian.org::debian-ftp/debian-non-US/pool/non-US/main /mirror/debian/non-US/main
while "file" contains
+"_all"
+"_i386"
-"*"
+"*/"
But the -"*" does not work, all