|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
finding files older than a specific file
Hello i gotta problem im trying to figure out can anyone please help?
Create a script that outputs the names of all files in your work area that contains the file(s) named "Test" and older than file "testmain" |
|
#2
|
|||
|
|||
|
Code:
find /path/to/directory -name test\* -newer /path/to/directory/testmain -print Or something like that... Change the path to a dot . if you are starting the search in your 'working area' i.e., it's your current working directory. |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > finding files older than a specific file |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|