ssh -r directory [EMAIL PROTECTED]:/path/where/you/want/it
can you use recursive with curl? can you use ssh?
On Sep 22, 2003, at 11:43 AM, Richard Miller wrote:
Can someone help me with the syntax of a FOR command in the tsch shell (I am on Mac OS X). I remember being able to use a FOR statement in DOS to execute the same command on every file in a directory, like this:
for (%%a) in (*.*) do some_action_to %a (or something like that)
How do I do it in tsch?
(Actually, maybe there is a better way to do this: I want to upload every file in a directory using the curl command. Right now I can send one file with "curl -T /Users/richard/file.txt -u user:password ftp://ftp.example.com/public_html/file.txt" but I haven't been able to use wildcards.)
Thanks, Richard Miller
____________________
BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
____________________
BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
