Tagged Questions
1
vote
1answer
98 views
Comparing file times in ksh
I have developed a script which will compare two dates.
#!/bin/ksh
####################################################################
#
#DECLARING ALL THE VALUES AND PATHS
#
...
2
votes
2answers
433 views
list all files newer than given timestamp and sort them
I want to list all files (sorted by date) that are newer than timestamp in format 20130207003851 in directory /tmp only. Subdirectories can be omitted.
Using SUSE Linux Enterprise Server 11.
The ...
6
votes
6answers
4k views
Shell script for moving oldest files?
How do I write a script for moving just the 20 oldest files from one folder to another? Is there a way to grab the oldest files in a folder?