if you want a list of file with the full path, ready to be pasted in a txt file to be processed by a script, for example, you have to add $PWD to the path in 'ls';
e.g.:
ls -1 $PWD/*.root
will show you the list of all the files ending with .root with their full path.
Wednesday, May 7, 2008
list of file with full path with 'ls' in a shell
Pubblicato da
Pelerin-Voyageur
a
2:23 AM
Etichette: bash, linux, system administration
Subscribe to:
Post Comments (Atom)
0 commenti:
Post a Comment