Compare commits
2 Commits
a80f7fea3b
...
9556a1c9e3
| Author | SHA1 | Date | |
|---|---|---|---|
| 9556a1c9e3 | |||
| d72a717700 |
@@ -10,8 +10,11 @@ if [ $# -lt 1 ] ; then
|
|||||||
echo "gimme at least one file"
|
echo "gimme at least one file"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
# file = Test/fichier1
|
||||||
|
|
||||||
for i in "$@" ; do
|
for file in "$@" ; do
|
||||||
test -f "$i" || continue
|
dn=$(dirname $file)
|
||||||
mv $i ${i^}
|
bn=$(basename $file)
|
||||||
|
test -f "$file" || continue
|
||||||
|
mv $file ${dn}/${bn^}
|
||||||
done
|
done
|
||||||
0
test/Fichier 6
Normal file
0
test/Fichier 6
Normal file
0
test/Fichier1
Normal file
0
test/Fichier1
Normal file
0
test/Fichier2
Normal file
0
test/Fichier2
Normal file
0
test/Fichier3
Normal file
0
test/Fichier3
Normal file
0
test/Fichier4
Normal file
0
test/Fichier4
Normal file
0
test/Fichier5
Normal file
0
test/Fichier5
Normal file
Reference in New Issue
Block a user