Re: How to download only newer versions of a file using FTP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



rsync should check file info and transfer the ones you are looking for.

-u, --update
This forces rsync to skip any files for which the destination
file already exists and has a date later than the source file.



Ryan Golhar wrote:

I thought this was a simply problem but I'm having trouble finding the
solution to this.

There a a couple of files on an FTP site that I want to routinely
download whenever they are updated ie only download newer versions of
the file. I looked at using ftp, curl, wget, and rsync, but none seem
to have the options necessary to do this.


Does anyone know how I can do this?  Thanks,

Ryan




-- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux