Show Bid Request
Shell script.
Bid Request Id: 19617
|
|
|
Description:
Looking for a shell script that will go though all the directories off root (just 1 level) and touch a file if it does not exist.
Deliverables: Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
Complete copyrights to all work purchased.
Platform:
Solaris 2.6 though 8. It will run from a cron job.
Remember that contacting the other party outside of the site (by email, phone, etc.) on all business projects < $500 (before the buyer's money is escrowed) is a violation of both the software buyer and seller agreements.
We monitor all site activity for such violations and can instantly expel transgressers on the spot, so we thank you in advance for your cooperation.
If you notice a violation please help out the site and report it. Thanks for your help.
|
|
Bidding/Comments:
|
All monetary amounts on the site are in United States dollars.
Rent a Coder is a closed auction, so coders can only see their own bids and comments. Buyers can view every posting made on their bid requests. |
See all rejected bids (and all comments)
Name |
Bid Amount |
Date |
Coder Rating |
|
|
|
This bid was accepted by the buyer!
|
$9 (USD)
|
Jun 20, 2002 12:05:51 PM EDT
|
10
(Excellent)
|
|
|
I am running RH Linux 7.2, and can write a bash script to do what you described.
Here will be the features of the script:
(a) Will take first command line argument as the filename.
(b) Will check in all immediate subdirectories of / and check for the existence of the filename.
(c) If it exists, it will not do anything.
(d) If it doesn't exist, it will use 'touch' to create the file.
Please tell me whether root directory (/) itself is to be included in this procedure or not.
The script should be delivered within a few hours after your acceptance of this bid.
If you have any questions, feel free to ask. I will test the script on RH Linux 7.2 running Bash shell.
Thanks
|
|
|
|
|
|