yay
This commit is contained in:
9
scripts/organize
Executable file
9
scripts/organize
Executable file
@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
# made to organize screenshots folder.
|
||||
## makes directories named by the first ten chars of filenames ending in .png,-
|
||||
## and copies (NOT moves) said file into them.
|
||||
for file in *.png; do
|
||||
DIRNAME=$(echo $file | cut -c1-10)
|
||||
mkdir -p $DIRNAME
|
||||
cp $file $DIRNAME
|
||||
done
|
||||
Reference in New Issue
Block a user