Search Results

Search: Posts Made By: mattkoz
4,139
Posted By RudiC
rbatte1 was using backticks ` whilst you...
rbatte1 was using backticks ` whilst you replaced those with the apostrophe (or single quote) ' . The meaning of both is remarkable different - the former introduces command substitution, the...
4,139
Posted By rbatte1
Well, you almost have it. Your logic just needs...
Well, you almost have it. Your logic just needs to extend and think "I can get the names of the files, now I need to copy each on in turn to the target area." This is repeating a process in a loop....
3,130
Posted By DGPickett
Doing date delta can be done in many languages,...
Doing date delta can be done in many languages, but for shell the easiest is the GNU date (which you can add to your system, perhaps as a user local executable) or you can search here for my tool...
3,130
Posted By agent.kgb
what about perl in HP-UX? find . | perl...
what about perl in HP-UX?


find . | perl -ane 'chomp($_); $bef = time() - (5 * 60); $a = (lstat($_))[9]; if ($a > $bef) { print $_, "\n"}'
3,130
Posted By rbatte1
I would use perl too, but to get the required...
I would use perl too, but to get the required start time. We can then create a reference file and use find based on that to select files.

Assuming you can't just use "date +%s", something...
Showing results 1 to 5 of 5

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