[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: using scp to move files



Antonio Rodriguez wrote:

scp file; rm file


Uh, "scp file(s) && rm file(s)" is probably better since "&&" will only run the next command if the first one succeeds. It would be a shame to have scp fail for some reason, then delete your files. :)

PaulNM



Reply to: