Putty mget by date

mgetputty

I am using putty via the command line to get (using mget) all of the txt files on a remote server. I would like to only get the files for a specific date range or files that have not been previously downloaded.

Edit: should have been more specific. I need to do this over an sftp connection

Best Answer

Really sounds like you'll want to look at rsync. See Backing up Windows machines using rsync and ssh by Manu Garg.

Economical backup solution: rsync and ssh

As all other unix tricks this is also the result of laziness and the need. I wanted to backup data on my windows laptop to a central linux/unix server. I didn't want all the features of available expensive backup solutions. Just a simple updated copy of my data on a central machine which is backed up to the tape daily. rsync is known for fast incremental transfer and was an obvious choice for the purpose.

Related Topic