Kapalı

small batch script to delete oldest files in a folder

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]

Beceriler: C Programlama, C++ Programlama, Linux, PHP, Yazılım Mimarisi

Daha fazlasını görün: windows batch script delete oldest file, batch file delete oldest file, script delete oldest, script delete oldest file, script delete oldest files ftp, batch script delete file oldest timestamp, ftp script delete oldest file, perl script count lines files folder, linux script delete temp files, script delete temp files local profiles remote, script count excel files folder, php script delete selected files server, cgi script delete selected files, script search xml files folder string, linux example script delete owner files

İşveren Hakkında:
( 75 değerlendirme ) Belsele, Belgium

Proje NO: #15774659

30 freelancers are bidding on average $28 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, Daha fazlası

in 3 gün içinde29$ USD
(68 Değerlendirme)
8.7
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 Daha fazlası

1 gün içinde 30$ USD
(1071 Değerlendirme)
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 Daha fazlası

in 2 gün içinde25$ USD
(1633 Değerlendirme)
7.7
ineedWorkJob

Greetings sir, how are you today sir? hope fine. Sir, I have read your project details and i will create a windows batch script that will delete last x files from your selected folder where x is variable and inp Daha fazlası

1 gün içinde 50$ USD
(229 Değerlendirme)
7.1
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 Daha fazlası

1 gün içinde 80$ USD
(132 Değerlendirme)
7.0
1 gün içinde 25$ USD
(103 Değerlendirme)
6.6
stoyanovalexandr

Hello, I am a skilled unix and network engineer with 5 years of experience in unix based systems, virtualization like proxmox,esxi,xen,virsh, iptv,zimbra etc. I like to automate system working with additional shell scr Daha fazlası

1 gün içinde 35$ USD
(160 Değerlendirme)
6.6
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 Daha fazlası

1 gün içinde 25$ USD
(227 Değerlendirme)
6.3
ukgolang

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

1 gün içinde 30$ USD
(7 Değerlendirme)
4.1
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 Daha fazlası

1 gün içinde 30$ USD
(8 Değerlendirme)
4.4
ExperSolutions

A proposal has not yet been provided

in 2 gün içinde26$ USD
(14 Değerlendirme)
3.3
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 Daha fazlası

1 gün içinde 25$ USD
(2 Değerlendirme)
3.2
notgreen

Dear Sir ! [url removed, login to view] (windows powershell script) copy the following lines to [url removed, login to view] ,save and test (carefully ) #your source directory $source ="c:\test1\" #file mask $filemask="*.spf","*.spi" Daha fazlası

1 gün içinde 30$ USD
(6 Değerlendirme)
2.8
in 3 gün içinde25$ USD
(4 Değerlendirme)
2.9
softtronicstech

I can do it. what language do you want me to use? I can do shell scripting, perl,c,python and many others Relevant Skills and Experience my old profiles [url removed, login to view] .(5 projects) www.peopleperhour.c Daha fazlası

1 gün içinde 30$ USD
(3 Değerlendirme)
2.3
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 Daha fazlası

1 gün içinde 30$ USD
(1 Değerlendirme)
2.0
in 0 gün içinde35$ USD
(4 Değerlendirme)
2.2
tuanthanhle

A proposal has not yet been provided

1 gün içinde 30$ USD
(2 Değerlendirme)
1.8
laraveldeveloper

Hello, I am a computer engineer and an experienced web developer. I have been doing web programming for 7 years. Please check my last laravel web project site, [url removed, login to view] [url removed, login to view] Relevant Skills and Expe Daha fazlası

1 gün içinde 14$ USD
(3 Değerlendirme)
1.3
mdo19

A proposal has not yet been provided

1 gün içinde 25$ USD
(1 Değerlendirme)
0.5