Search Results

Search: Posts Made By: StephB
20,042
Posted By StephB
Ok, so I create an empty file using: touch...
Ok, so I create an empty file using:
touch data -t MMDDHHMMYYBut how can I compare this file (with the command -newer) with the other files "data", whereas they are in other subdirectories?
...
20,042
Posted By StephB
Sorry, I don't really understand what I can...
Sorry, I don't really understand what I can really do with this kind of command.

find -type f -exec touch {} \;



Can you explain me more in details for my case for exemple?
20,042
Posted By StephB
Thanks for the answers, I think mtime is not a...
Thanks for the answers, I think mtime is not a solution for my case, since I write a script for general cases, so I think -newer has to be the solution.
Concerning the touch command, this is a nice...
20,042
Posted By StephB
Thanks for your answer, but I don't know how to...
Thanks for your answer, but I don't know how to use this code:

ls -lart /some/directory/name/ | find -some -fancy -find -flags

with this one:

find /x/y/z -type f -name data -exec grep ...
20,042
Posted By StephB
command to find most recent file
Hi,

Here is my problem:

I try to write a script to find data in a file named "data" for exemple.
Let's say I am in the directory /x/y/z, there are several sub-directories in the "z"...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 05:55 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy