>Hello list,
>
>I need help with some scripts I must do. I'm not used to script
>programming so I don't know the possibilities. In fact I need scripts
>for uploading, downloading and renaming archives throught FTP
>connection. For upload/download, I thought of using wget. The most
>problem will be with the renaming. Actually, I need to conect to the
>server, check out there if there is a specific file, and then decide to
>rename another file.
>
>Can any one give me any directions?

You can use mv for renaming files in scripts, like all other
common unix commands. If it should be done within a ftp session
you can use rename...

mv <old_filename> <new_filename>

Or in ftp session:

rename <old_filename> <new_filename>

Rick





_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to