6 lines
167 B
Plaintext
6 lines
167 B
Plaintext
|
#!/bin/sh
|
||
|
# Add the modification date in front of the filename
|
||
|
for file
|
||
|
do mv --verbose --interactive "$file" "$(stat --format %y "$file" | cut -d' ' -f1)_$file"
|
||
|
done
|