Search Results

Search: Posts Made By: alpha_mouse
7,769
Posted By bartus11
If this gives you the list of files:find ....
If this gives you the list of files:find . -maxdepth 1 -type f -print0 | xargs -0 stat -f "%Sm %N" -t "%H:%M" | awk '/^(09:|1[0123456]:|17:[012]|17:30)/ { print $2 }'Then this will copy them to...
7,769
Posted By bartus11
statis used to read file's modification date and...
statis used to read file's modification date and awk is used to filter files that were modified between 9:00 and 17:30. If this code gives you proper results, then you can copy those files using:...
Showing results 1 to 2 of 2

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