for file in *.txt; do scp *.txt u...@server:/path/to/directory/.; done
On Tue, Oct 6, 2009 at 2:24 AM, JTF <[email protected]> wrote: > > This will probably be a no-brainer for many here; > > Is it possible to do this in a single line of code? > > Find any .txt files > SECURE copy (scp) them to another sytem > delete the file > > > Thanks > JEFF > > > -- Penguin, penguin, and more penguin. Believe that within the brain is a brain, and within it another brain, and so on and so forth. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Linux Users Group. To post a message, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit our group at http://groups.google.com/group/linuxusersgroup -~----------~----~----~----~------~----~------~--~---
