Computing.Net > Forums > Programming > shell script code for file transfer

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

shell script code for file transfer

Reply to Message Icon

Name: ck.ravuri
Date: September 11, 2008 at 22:43:38 Pacific
OS: xp
CPU/Ram: p4
Product: intel
Comment:

hi gurus,
i am looking for shell script which will transfer file from one directory to another.
details:
abc.txt and abc.ctl files will come into a folder and script needs to transfer abc.txt only when abc.ctl is in place to another directory.

can anybody help in writing this script...



Sponsored Link
Ads by Google

Response Number 1
Name: Mechanix2Go
Date: September 12, 2008 at 01:17:55 Pacific
Reply:

if exist c:\src\abc.ctl copy c:\src\abc.txt c:\dest


=====================================
If at first you don't succeed, you're about average.

M2


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: shell script code for file transfer

Shell Script Calculator www.computing.net/answers/programming/shell-script-calculator/734.html

Shell script to copy a file from local drive www.computing.net/answers/programming/shell-script-to-copy-a-file-from-local-drive-/18791.html

help me write this shell script www.computing.net/answers/programming/help-me-write-this-shell-script/20167.html