Oct 19, 2009 10:41
Am I right that
rysnc -v [somefiles] | grep [some criteria] >> [some file]
wont change the way rsync works, just what is done with standard output? Specifially take the entre verbose (-v) output, filter it by my criteria, and append the filtered output to my file?
(Yes, I COULD set up a test set of files and run a trial. And I probably will.)
Leave a comment
Comments 2
Reply
FWIW, rsync -v [somefiles] >> [some file] works great, I'm just trying to add a step to filter out all the lines reflectingeach folder level touched. So the grep will feature the not flag (don't remember what it is right now, will look up), and look for a "/" anchored at the end of the line ... that way it'll only capture those lines that end with a file.
Reply
Leave a comment