Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: roamer_1
I'm kind of interested. How would one do the following in powershell?

$ scp data[1257]-a?.dat zeugma@foo.bar.com:mydata/.

(copy any file in the local directory that begin with "data" followed by any of the numbers 1,2,5 and 7, followed by  "-a", followed by any one single character, ending with ".dat". Copy it to the remote system "foo.bar.com" using my 'zeugma' userid and put it into a subdirectory called "mydata" that is under zeugma's home directory.

 

71 posted on 09/20/2013 2:06:26 PM PDT by zeugma (Is it evil of me to teach my bird to say "here kitty, kitty"?)
[ Post Reply | Private Reply | To 48 | View Replies ]


To: zeugma
I'm kind of interested. How would one do the following in powershell?

You're talking to the wrong guy - I am not even good enough in PowerShell to be dangerous... I messed with it enough to be impressed, but it is a world away from NTVDM. That is one of my projects to explore once the snow flies here... But even so, I doubt it comes anywhere near bash.

86 posted on 09/20/2013 6:46:23 PM PDT by roamer_1 (Globalism is just socialism in a business suit.)
[ Post Reply | Private Reply | To 71 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson