👤
Home Man
Search
Today's Posts
Register

BSD, Linux, and UNIX shell scripting — Post awk, bash, csh, ksh, perl, php, python, sed, sh, shell scripts, and other shell scripting languages questions here.

Delete 3 oldest files

👤 Login to reply

 
Thread Tools Search this Thread
# 15  
Old 2 Days Ago
For demonstration I have put an echo before the rm.
Remove it to really run the rm!
# 16  
Old 2 Days Ago
Excellent.
👤 Login to reply

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Delete oldest folder based on folder named as date humble_learner Shell Programming and Scripting 3 2 Weeks Ago 09:05 AM
Finding oldest files migurus UNIX for Advanced & Expert Users 3 07-04-2018 02:27 AM
Script needed to delete to the list of files in a directory based on last created & delete them prasadn Shell Programming and Scripting 2 03-02-2015 08:01 AM
Delete all files if another files in the same directory has a matching occurrence of a specific word kridhick Shell Programming and Scripting 7 11-19-2014 05:47 AM
Keeping oldest backup files? Calab Shell Programming and Scripting 3 06-27-2013 11:54 AM
To delete the oldest files in a file when file count in the folder exceeds 7 akshay01987 UNIX for Dummies Questions & Answers 1 10-01-2012 02:32 AM
Moving files only by oldest file one at a time chamajid Shell Programming and Scripting 2 05-21-2012 04:30 PM
delete oldest images from remote server Destined Shell Programming and Scripting 1 08-18-2008 03:49 PM
sort files by date, delete oldest, if total size bigger than scarfake Shell Programming and Scripting 2 05-21-2008 08:02 AM
Oldest files 2dumb Shell Programming and Scripting 2 05-04-2007 03:57 PM


All times are GMT -4. The time now is 09:57 AM.

Unix & Linux Forums Content Copyright©1993-2018. All Rights Reserved.
×
UNIX.COM Login
Username:
Password:  
Show Password