Phil, Thanks for the answer
If I have understood you correctly my code would now be: rsync -rvt --progress --delete --modify-window=10 /home/edward/data/ /mnt/edward/data/ >phil.log Is that correct? Is it a requirement that is NO space between the > and phil.log Ed Phil Thompson wrote: > Edward Kerr wrote: > >> I am running a rsync command as a cron job, but I would like to have >> the output that normally scrolls past you on the terminal sent to a >> text file for me to look at later. > > as a general rule you can direct the standard output into a file using > the > character followed by the filename > > for example > > netstat >phil.log > > creates a file phil.log with the output of the netstat command in it, > instead of it flying off the top of the monitor. > > you only get the one file no matter how many times you do it, so it is > overwriting without asking. > > Phil _______________________________________________ Peterboro mailing list [email protected] https://mailman.lug.org.uk/mailman/listinfo/peterboro
