You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/bin/bash
|
|
|
|
find . -type f -mtime -2 ! -mmin -1 ! -name '*.sh' -print0 |
|
|
while IFS= read -r -d '' line
|
|
do
|
|
part1=$(dirname "$line")
|
|
part2=$(basename "$line")
|
|
mv $line $part1'/'$add$part2
|
|
done
|
|
|