Find freelancers. Lose those costly delays.

With 1.7 million freelancers, we'll match you with the perfect talent.

or, Register with Elance »

Small bash or perl cleanup script needed to delete stale files
Sign in to Add to Watch List

IT & Programming > Other IT & Programming

View Change History

The client has made the following changes to the job.


Job awarded.

Nov 1, 2011

Job Description

  |  Change History >>


  • Posted: Tue, Nov 01, 2011
  • Time Left: Closed
  • Location: Anywhere
  • Client prefers freelancers from:

    You are still able to submit a proposal for this job.

    The client prefers freelancers from
    a different location.

    You're still able to submit a proposal for this job, regardless of your location.
  • Start: Immediately
  • Budget: Less than $500
  • Fixed Price Job
  • Elance Escrow Protection
  • U.S. freelancers must have W9
Sign in to view client's details

Need a bash script to run on Linux. CentOS.

Input on Command Line

Number of Days. Integer.

Input: File. Text File. Call it DomainNameList
Location: /home
Log File: Location /home

File will be a list of domain names

In the format of xxxxxxx.xxx


The script will

Create a pathname of a directory where all the files and directories under it will be deleted if they are greater than today, less the Number of Days variable.

There are three directories to be cleaned

Home/tendimen/public_html/<domainname>/feeds/ (Just the .xml files)
Home/tendimen/public_html/<domainname>/wp-content/w3tc/pgcache (just the directories and their files)

Log File. Every activity post timestamp and status. Errors should be very specific.

Basic Logic

Numberofdays is defaulted at 30. Make an Environment Variable please, but also a command line input argument

Open Log file. Post Start Message.
For every domain name in DomainN...

Sign in or Register to see more

Job ID: 26873503
Avg $ | High $ | Low $ — Show Pricing
  • Submit Date (Latest)

 United States  |  
I am a skilled Senior Linux Systems Administrator and Engineer, with knowledge of Chef, Puppet, Hadoop, Ruby, Python, Perl, EC2 and cloud...
 4.9   |  $9,507 Earnings   |  2 Jobs
Bid ID: 26882476  |  Submitted: Nov 1, 2011 20:03 ET 
Proposal SEALED

 United States  |  
Experienced, knowledgable systems administrator with open source, computer science and web hosting background. 10 years of professional experience...
 0.0   |  $0 Earnings   |  0 Jobs
Bid ID: 26879901  |  Submitted: Nov 1, 2011 16:05 ET 
Proposal SEALED

We are an agile organization specializing in software consulting, cloud computing IaaS & Managed Services with wide range of expertise....
 4.8   |  $26,316 Earnings   |  12 Jobs
Bid ID: 26878063  |  Submitted: Nov 1, 2011 14:09 ET 
Within 1 day

 India  |  
Development of system and application software in C / C++ languages in Unix / Linux environments. Also providing development of concurrent...
 0.0   |  Private   |  0 Jobs
Bid ID: 26876062  |  Submitted: Nov 1, 2011 12:12 ET 
Proposal SEALED

 United States  |  
Our company specializes in custom iPhone, iPad, and Macintosh OS X application development to meet your business needs. We are capable of...
 0.0   |  Private   |  1 Jobs
Bid ID: 26875881  |  Submitted: Nov 1, 2011 12:02 ET 
Proposal SEALED
Sign in to Elance and start working on jobs today.
Sign in to view more of the job details and submit a proposal. Once registered, you'll have access to thousands of jobs online or through email.
Are you ready to post a job like this one?
Post a Similar Job »