Just a simple question. Say I have a bunch of *.txt files on a server somewhere and I'm using the standard scp command to download *.txt to my computer. However, say one of the files, call it "bad.txt" is extremely large and happens to be a file I don't need for this specific occasion.
Downloading this file would slow down everything else, so I'd like to not download this file. Is it possible to somehow skip the file from being downloaded as all of the *.txt files are being downloaded? I hope I'm phrasing this question properly.
Alternatively, if it's just large files. rsync supports --max-size=SIZE i.e. --max-size=5M or --max-size=2G
– Justin Jan 21 '13 at 08:15scpto thersynccommand, as the -max-size could be just what I need! – Amit Jan 22 '13 at 02:11rsync, if the destination already includes the file and it has not change, then no transfer happens (just a few handshakes to determine whether the copy is required.) – Alexis Wilke Jun 25 '17 at 19:21