Sometimes it’s handy to be able to directly append to a remote file. Here is how to do it simply:
cat my_file | ssh user@host 'dd of=/home/user/outfile oflag=append conv=notrunc'
#TipOfTheDay
Sometimes it’s handy to be able to directly append to a remote file. Here is how to do it simply:
cat my_file | ssh user@host 'dd of=/home/user/outfile oflag=append conv=notrunc'
#TipOfTheDay