Lukket

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]

Evner: C programmering, C++ Programmering, Linux, PHP, Software Arkitektur

Se mere: windows batch script delete oldest file, batch file delete oldest file, script delete oldest, website design, linux, shell script, system admin, 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

Om arbejdsgiveren:
( 75 bedømmelser ) Belsele, Belgium

Projekt ID: #15774659

28 freelancere byder i gennemsnit $29 på dette 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, Flere

$29 USD in 3 dage
(75 bedømmelser)
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 Flere

$30 USD på 1 dag
(1091 bedømmelser)
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 Flere

$25 USD in 2 dage
(1662 bedømmelser)
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 Flere

$50 USD på 1 dag
(230 bedømmelser)
7.1
$25 USD på 1 dag
(115 bedømmelser)
6.7
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 Flere

$35 USD på 1 dag
(163 bedømmelser)
6.6
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 Flere

$80 USD på 1 dag
(135 bedømmelser)
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 Flere

$25 USD på 1 dag
(274 bedømmelser)
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 Flere

$30 USD på 1 dag
(10 bedømmelser)
4.5
ukgolang

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

$30 USD på 1 dag
(7 bedømmelser)
4.1
$25 USD in 3 dage
(8 bedømmelser)
4.0
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 www.freelancer.com/u/rreddi .(5 projects) www.peopleperhour.c Flere

$30 USD på 1 dag
(8 bedømmelser)
3.7
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 Flere

$25 USD på 1 dag
(2 bedømmelser)
3.2
mdo19

A proposal has not yet been provided

$25 USD på 1 dag
(2 bedømmelser)
3.4
tuanthanhle

A proposal has not yet been provided

$30 USD på 1 dag
(7 bedømmelser)
3.2
ExperSolutions

A proposal has not yet been provided

$26 USD in 2 dage
(17 bedømmelser)
3.6
notgreen

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

$30 USD på 1 dag
(6 bedømmelser)
2.8
$35 USD in 0 dage
(5 bedømmelser)
3.1
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 Flere

$30 USD på 1 dag
(2 bedømmelser)
2.2
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 på 1 dag
(0 bedømmelser)
0.0