Closed

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

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.

Skills: C Programming, Google Chrome, Microsoft, Shell Script, Windows Desktop

See more: moving for a job, look for job, i need a programming job, e value, create shell script, example shell script, yy, shell script, s parameters, mm, set within, delete file shell script, move files folder based file name, time scheduler, move file folder based file name, programming scheduler, retention script, transfer time file, shell days move, transfer date, delete files folder, microsoft job programming, format repost, file transfer time, inside indicator

About the Employer:
( 0 reviews ) Dubai, India

Project ID: #5408576

15 freelancers are bidding on average $10/hour for this job

srinichal

I am an expert in bash and can deliver the project to your specifications and needs .

$26 USD / hour
(52 Reviews)
5.7
expertcoder1vw

Hi, I can do this job for you. My best fixed price rate for this job is $160, and delivery in 3 days. Bests, Larry

$21 USD / hour
(28 Reviews)
5.2
repairman4

Hi, Does this need to be a shell/bash script or can it be a command line C application? total price is $55. I can do it today. Mark

$27 USD / hour
(19 Reviews)
4.9
ebmedias

Hi! i can make this shell script for you. I would like to offer a fix price of 25 USD for it and i can complete it within 24 hours! Regards.

$5 USD / hour
(2 Reviews)
2.6
aibrahimsl

let's do it now, i can write shell script for it or ruby script if you want, because ruby will be more readable code than bash and portable than shell , so you can ruby ruby on windows or nix systems if you preferred

$11 USD / hour
(1 Review)
0.0
danilo1117

I can certainly do it but I need more information about it. Your description is not very clear and I didn't understand if you want it done in shell script or C. Can we talk live? My email is greendhulke at gmail.com. S More

$16 USD / hour
(0 Reviews)
0.0
designvin

Hello, I have a good experience with shell scripts. Can you let me know the version of the OS? My I also suggest a Python/Perl/Ruby implementation? Thanks Vinod

$6 USD / hour
(0 Reviews)
0.0
bober275

Hi, I'm new developer here. Let me to prove my self by creating for you a good quality script. Thank you.

$8 USD / hour
(0 Reviews)
0.0
anantkolvan1989

i am been working on script based languages, also i have written an video conversion script to convert videos in different format with parameters including folder path to get video files and place then in a folder afte More

$16 USD / hour
(0 Reviews)
0.0
tukapr

I can start working on this project when you're ready. It looks pretty straight forward. Please let me know. Thanks.

$5 USD / hour
(0 Reviews)
0.0
zaheico

I have over 10 years experience as UNIX admins with very good experience with Korn Shell and awk and sed commands.

$5 USD / hour
(0 Reviews)
0.0
yvayse01

this is a simple script, give me 20 and I will do it for you, no need to do it hourly. I'm a professional Linux Admin in NYC and have created a number of scripts just like you request. few things to mention why do y More

$5 USD / hour
(0 Reviews)
0.0
SoftTecher

3+ years experience in shell (bash and dash), several years experience in Linux OS such as Red hat and Ubuntu also. but really a rookie in freelancer, you are my first customer

$5 USD / hour
(0 Reviews)
0.0
neerajshrimali

Hello, I am 4+ Years experienced Working Professional. & a Young fresh enterpreneour. I am experienced in working in C, C++, Linux, Script, Perl Programming. I can work on you project. Kindly consider if su More

$2 USD / hour
(0 Reviews)
0.0
henrystock

I have just implimented a Sap project that required a Similar script with different parameter's. It's just changing it and fitting it into this clients environment that would make it effective and efficient, defining More

$8 USD / hour
(0 Reviews)
0.0
vgiacome

I have a lot of experience with bash scripting, especially regarding daily file management. I worked a lot on incremental backup automation, daily log backup and such. I would finish this job quickly and thoroughly. I More

$5 USD / hour
(0 Reviews)
0.0