Need a Shell Script for moving the files whose create time is within 7 days into a folder with same create date's name (i.e. mm-dd-yy) format. - repost

Budget $2 - $8 USD / hour
Bids 16
Average Bid $11

o The main processing script will execute based on the input parameters defined of the job scheduler.
o The input_directory in the parameters is the target directory. The script will look inside the directory for any files.
o Based on the archive_indicator parameter and the create date time of the file , the script will create sub directories inside the target directory(if not created already)and move(transfer) the corresponding files from the target directory to the sub directory created.
o For Example: if the archive indicator has been set to Y, the script will look inside the target directory for any existing files. If the file has a create date time of “01-05-2014 04:25:00”, it will first look for a folder with the date “01-05-2014”. If such a folder exists, it will only transfer the file to the folder. If the said folder does not exist then it will create a folder with the above mentioned name and move the file from the target folder to the sub folder created.
o After the above process has been completed for all the files in the target folder, the script will look for the parameter(retention_period_days). The script will delete/purge all the sub directories and files inside the target directory which are dated before the retention period mentioned in the parameter.
o For example: considering the current date time as “01-05-2014 03:45:00” and the parameter value mentioned as 7, the script will delete all the sub directories named as and before “12-29-2013” and files with create date time before “12-29-2013 03:45:00” within the target directory.

Post a Project Like This

Looking to make some money?

  • Set your budget and the time frame
  • Outline your proposal
  • Get paid for your work

Bids on this Project

  • vgiacome Profile Picture

    vgiacome

    Zagreb,  Croatia

    ## BIO I was born on July 14th, 1990. in Bjelovar, Croatia. In 2005. I went to school in Zagreb. It was XV. gimanzija, one of the best highschools in Croatia. I finished it 2009. with the best grade. I got my bachelor degree from Faculty of electrical engineering and computing, University of Zagreb, Croatia in 2014. I'm currently working on my master's degree on the same university. I have worked in Iskon Internet d.d., one of the largest telecoms in Croatia on IT billing system for a year. I currently work as Linux system administrator in Croatian Computer Science Association. I started to learn programming in primary school and I'm doing it since. I'm really good at it and computers generally. My main field of interest is Linux system administration and networking.

    PHP, C Programming, Java, and Javascript

  • henrystock Profile Picture

    henrystock

    Johannesburg,  South Africa

    I am a talented and experienced Data Entry Operator looking to be hired. In my work experience I have versatility as a Microsoft Programmer working on many different projects. I also have exemplary skills in the areas of Software Architecture, Software Testing and Usability Testing. I will try to put in my best foot and help you in accomplishing your goals to reach your targeted task. I will involve myself sincerely in your team and can handle as an autonomous person too. You can trust on me for any of your assignments and I will deliver the result in a prompt manner. I am looking forward to be outsourced by you.

    Internet Marketing, Windows Desktop, Data Entry, and Video Services

  • neerajshrimali Profile Picture

    neerajshrimali

    Ahmdabad,  India

    Hi, I am a fresh Enterpreneour, A Passionate learner. A dedicated work attitude holder.

    Perl, C Programming, Java, and Linux

  • SoftTecher Profile Picture

    SoftTecher

    shanghai,  China

    To help you to save your money!

    C Programming, Data Entry, Android, and English (UK)

  • yvayse01 Profile Picture

    yvayse01

    Brooklyn,  United States

    Professional Linux/Unix Admin with concentration in Web Operations and infrastructure build No task is too small nor too big

    PHP, Perl, Java, and Javascript

  • zaheico Profile Picture

    zaheico

    Leon,  Mexico

    I am ready to be hired by you for the post of Artículos Writer or Entrada de datos Worker. I have all the skills and experience that makes me a competitive candidate for this post. I have had an ideal prospect and am ready to accept any new challenges that may be put in front of me. If given an opportunity to work for your company I will fulfil the given work with utmost dedication and loyalty. I have many years experience working as a Artículos Writer and Entrada de datos Worker. I also have good experience working with Marketing en Internet and Wordpress. I am ready to start working for you today.

    Copywriting, Linux, Data Entry, and Articles

  • tukapr Profile Picture

    tukapr

    flushing,  United States

    Linux/Unix Shell Scripting, Perl, Python, IPTABLES, TCP/IP, SQUID, DNS, APACHE, SNMP, POSTFIX, SELinux, Linux/UNIX Kernel Tuning, UNIX/AIX.

    PHP, Perl, Python, and System Admin

  • repairman4 Profile Picture

    repairman4

    Rockford,  United States

    Primarily skills in performance programming, C++/C, Objective C, Fortran, Parallel Programming, pthreads, GUI development, Cocoa, JNI, and Network programming (TCP/IP, Encryption).Specialize in client/server applications over TCP/UDP sockets, UDP hole punching. Over 25 year experience in these: OS X, UNIX, Linux, Windows, Solaris. Also, specializing in License Management

    C Programming, Linux, Computer Security, and Software Architecture

  • srinichal Profile Picture

    srinichal

    hyderabad,  India

    Perfection and dedication are the way we deal with projects on freelancer. There have been many clients all over the world that are satisfied with the solutions provided.All types of automation works along with web based solutions are our expertise. Looking to provide solutions in the Mobile markets as well. Some of the automation tools are listed in portfolio and here as well: * AutoBidder tool for Madbid like sites * Automation tools For all emails and social Bookmark sites * Social Bookmarking tools * Facebook Likes Automation * Webbased Versions of tools tailored to custom needs * Desktop apps tailored to customer needs * Proxy tools tailored to your requirements. A dedicated team that can literally deliver any project solution with high expertise. Please don't hesitate to contact us via freelancer. Satisfaction guaranteed solutions delivered all over the world. The Skill Set ranges from C# to PHP, Iphone to Andriod. We can deliver almost any solutions for your needs. We can also take up any type of work based on web design to desktop or mobile in the broad spectrum as we always strive to learn and perfect.

    PHP, Perl, Java, and JSP

  • anantkolvan1989 Profile Picture

    anantkolvan1989

    India

    I am a skilled and experienced Amazon Web Services Expert. I am a talented and qualified Amazon Web Services Expert. I have an excellent C Programming skills as well as skills in the areas of Microcontroller and MySQL. I have an excellent interpersonal and communicative skill too. I have been working as a PHP Developer as well as ROR Developer for the past few years. I am highly qualified and have keen grasping ability which has earned me many credentials. I am willing to be hired by you.

    PHP, C Programming, Ruby on Rails, and Wordpress