Compare commits
2 Commits
a80f7fea3b
...
solution
| Author | SHA1 | Date | |
|---|---|---|---|
| 9556a1c9e3 | |||
| d72a717700 |
@@ -10,8 +10,11 @@ if [ $# -lt 1 ] ; then
|
||||
echo "gimme at least one file"
|
||||
exit 1
|
||||
fi
|
||||
# file = Test/fichier1
|
||||
|
||||
for i in "$@" ; do
|
||||
test -f "$i" || continue
|
||||
mv $i ${i^}
|
||||
for file in "$@" ; do
|
||||
dn=$(dirname $file)
|
||||
bn=$(basename $file)
|
||||
test -f "$file" || continue
|
||||
mv $file ${dn}/${bn^}
|
||||
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