Search Results

Search: Posts Made By: soliton
1,374
Posted By Akshay Hegde
$ cat tester #!/bin/bash ...
$ cat tester
#!/bin/bash

file="filename_01012014"
touch $file
cp $file "${file%%_*}_"$(date -d"$(sed -r 's/(.{2})(.{2})(.{4})/\3\2\1/' <<<"${file##*_}") -15 days " +"%d%m%Y")


$ bash tester...
1,658
Posted By MadeInGermany
-delete is GNU find, is very fast. Unix find...
-delete is GNU find, is very fast.
Unix find needs -exec rm -f {} \; and some have the faster -exec rm -f {} +
--

find /path -type f -prune -name ...

does not descent to subdirectories if at...
Showing results 1 to 2 of 2

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