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.
script to move file
Name: george Zhou Date: November 21, 2002 at 11:22:04 Pacific OS: win 98 CPU/Ram: PIII/256
Comment:
Would you please help me write a script to move file between dirs? I am new to unix. But I need this for my work. The script should check id and pw. thanks.
Name: David Perry Date: November 21, 2002 at 19:12:21 Pacific
Reply:
What sort of authentication check do you need? Are you talking about a suid script that assues super user authority to move files to directories owned by other users ?
@!/bin/sh mv $1 $2 -------------- call the script with the first parameter being the file name and the second being the target directory.
Summary: Hi, I want a code or script to move(archive) the files from a Unix directory into mainframe. Please let me know how to do this. Thanks, Anil ...
Summary: Dear Friends, I have a directory named tech, there are many files with *.uni extensions in this directory.The files with *.uni are continuously coming in tech directory.In tech directory, there is one...
Summary: Obviously, if you change the file structure you stated, this breaks. If this is a script you'll run often, then you probably want to change to the directory where the files reside. When it's the wa...