small batch script to delete oldest files in a folder

Closed Posted 6 years ago Paid on delivery
Closed Paid on delivery

Hi all,

I need a batch script wich searches in a folder for all *.spf files and all *.spi files.

It then needs to delete the X oldest ones but X should be inputed as a variable.

So when running the batch it should list (dir *.spf) and (dir *.spi) files and then ask how many X would be.

Ask to tell what X is For example 3

Then the porgram should delete the oldest 3 files [url removed, login to view] [url removed, login to view] [url removed, login to view]

and then also delete [url removed, login to view] [url removed, login to view] and [url removed, login to view]

C Programming C++ Programming Linux PHP Software Architecture

Project ID: #15774659

About the project

28 proposals Remote project Active 6 years ago

28 freelancers are bidding on average $29 for this job

aistechnolabs

Greetings, I am very thankful for this opportunity. It’s really exciting that we have below similar kind of expertise and work experience: We have wide experience with various verticals like business, healthcare, More

$29 USD in 3 days
(75 Reviews)
9.0
linuxfreak1985

Hi, i am most senior Linux Script writer here. I understand you want me to write a bash script which deletes oldest files with some filters to apply and i can do it sure Relevant Skills and Experience my skills are li More

$30 USD in 1 day
(1091 Reviews)
8.5
vano101

Hello, I have checked requirements and it's easy to implememt Relevant Skills and Experience Despite writing Batch scripts is not my primary specialisation I have enough experience in order to complete this project P More

$25 USD in 2 days
(1662 Reviews)
7.7
hbxfnzwpf

I am very proficient in c and c++. I have 16 years c++ developing experience now, and have worked for more than 6 years. My work is online game developing, and mainly focus on client side, using c++ under windows envir More

$80 USD in 1 day
(135 Reviews)
7.0
yashaswini510

hello i have recently written a bash script for this purpose for another client. i can make changes immediately to that to suit your needs. Relevant Skills and Experience i am an experienced system admin and i can do More

$25 USD in 1 day
(274 Reviews)
6.5
omniscient04

Hello We are a contemporary and excellent Website design and development team with a focus on user-centered design while helping clients to achieve the desired result. Relevant Skills and Experience We are a dynamic a More

$30 USD in 1 day
(10 Reviews)
4.5
ukgolang

Hi, Please check my feedback for reviews of my past shell scripts jobs. I can complete your script today.

$30 USD in 1 day
(7 Reviews)
4.1
ExperSolutions

A proposal has not yet been provided

$26 USD in 2 days
(17 Reviews)
3.6
muhammadashraf75

Hi, I are expert in such script and x date scripts is running in my network. I can do it from any one in better way. Relevant Skills and Experience Linux and Admin Scripting Bash scripting Proposed Milestones $25 US More

$25 USD in 1 day
(2 Reviews)
3.2
mdo19

A proposal has not yet been provided

$25 USD in 1 day
(2 Reviews)
3.4
tuanthanhle

A proposal has not yet been provided

$30 USD in 1 day
(7 Reviews)
3.2
uzzairkhan

Hi, I have understand your requirements you need to delete the oldest number of files how much user inputs for both spi and spf extensions Relevant Skills and Experience ASP.NET .NET MVC C# Proposed Milestone More

$30 USD in 1 day
(2 Reviews)
2.2
ssi599a5dc458c8b

HI, I will complete this task in Lowest price and A + grade work. Give me work and first check the work if you like the work quality then pay me other wise dont pay me. Pay me after check the work Relevant Skills More

$20 USD in 1 day
(0 Reviews)
0.0
naiad6

Hello there. I can make this script for you withing 24hours time period. Contact me to speed things up. Relevant Skills and Experience 3+ years in batch scripting. Proposed Milestones $33 USD - fair price Please, co More

$25 USD in 1 day
(0 Reviews)
0.0
trusha89

I am having experience in shell scripting more than 6 years. This requirement can be solve by shell script. Just need your input to progress. Thanks

$25 USD in 1 day
(0 Reviews)
0.0
pundlikoulkar

A proposal has not yet been provided

$25 USD in 2 days
(0 Reviews)
0.0
izzatidaud

ok Relevant Skills and Experience smart Proposed Milestones $25 USD - anything no thanks

$25 USD in 1 day
(0 Reviews)
0.0
dhbmarcos

Hello! I hope are you well. Your bash script already done by me, according this specification. If you need more information or customization, please, contact me Good job.

$13 USD in 1 day
(0 Reviews)
0.0