>>>Donc voil�, j'ai un petit probl�me. Je souhaiterai d�placer un nombre
>>>important de fichiers (plus de 9000), mais j'ai droit � l'erreur
>>>suivante :
>>>$ mv -i --reply=no * /path/menant/au/repertoire/
>>>bash: /bin/mv: Liste d'arguments trop longue
>
> Tu peux essayer un "double tar pip�"
> (cd /chemin/source ; tar --remove-files -cf - .)| \
> (cd /chemin/dest ; tar -xf -)
Et si le deuxi�me plante tu perds tes fichiers ?
Je verrais plut�t �a :
find . -type f -maxdepth 1 -exec mv {} /path/menant/au/repertoire/ \;
Ou un peu plus tendance gruik contest :
find -type f -maxdepth 1 | awk '{print "mv $1 new/"}' | source /dev/stdin
Alain
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]