Write a quick python script

Web, Mobile & Software Dev Scripts & Utilities Posted 2 years ago

Fixed Price

Delivery by February 9, 2013

$10.00

Budget

Details

Hello:


I would like you to write me a script in python (Linux) to do the following:

1. Identify when a new directory has been created at:

/opt/shakemap/data/

If a new directory has not been created, do nothing.
If a new directory has been created execute the following script:

/opt/shakemap/bin/shake -event [new_directory_name_here]


2. Identify when files have been updated at:
/opt/shakemap/data/[directory_name]/input/event.xml
/opt/shakemap/data/[directory_name]/input/event_dat.xml

If neither of these files have not been updated, do nothing.
If one or more of these files has been updated, execute the following script:

/opt/shakemap/bin/shake -event [directory_name_here]


And that is it!


B

---
Skills: linux

Skills Required:

Client Activity on this Job

Last Viewed: 2 years ago

Proposals: 11

Hired: 2


About the Client

(4.99) 103 reviews

Panama
Volcan 12:20 PM

257 Jobs Posted
56% Hire Rate, 1 Open Job

Over $50,000 Total Spent
155 Hires, 3 Active

$12.28/hr Avg Hourly Rate Paid
1,931 Hours

Member Since Jan 1, 2010