Fichier.txt sous unix
Fermé
DRSBMM
-
18 nov. 2008 à 10:31
santiago69 Messages postés 477 Date d'inscription mercredi 7 mars 2001 Statut Membre Dernière intervention 12 septembre 2016 - 18 nov. 2008 à 11:53
santiago69 Messages postés 477 Date d'inscription mercredi 7 mars 2001 Statut Membre Dernière intervention 12 septembre 2016 - 18 nov. 2008 à 11:53
A voir également:
- Fichier.txt sous unix
- Fichier executable unix ✓ - Forum MacOS
- Telecharger unix - Forum Linux / Unix
- Unix substring ✓ - Forum Shell
- Ipconfig unix ✓ - Forum Linux / Unix
- Path unix - Astuces et Solutions
1 réponse
santiago69
Messages postés
477
Date d'inscription
mercredi 7 mars 2001
Statut
Membre
Dernière intervention
12 septembre 2016
208
18 nov. 2008 à 11:53
18 nov. 2008 à 11:53
Quelquechose dans ce gout la ?
find /home/santiago -type f | while read file; do
dest=$(echo "$file" | sed 's/\(.*\/\)\([^/]*\)\/\([^/]*\)/\1\2\/\2.\3/')
echo "$file" "$dest"
done