Find to File.txt no Path
I would like to know how to send the result of the find without the path
I Try: Code:
find * -type f > List1.txt Code:
kidentitymanagement-16.04.3-x86_64-1alien.txz |
find * -type f | rev | cut -d '/' -f 1 | rev
|
Quote:
|
find * -type f -printf '%f\n'
|
Quote:
|
Quote:
|
Diantre --
Thanks ! That's a keeper. This Code:
find . -type f -printf '%f\n' Code:
for File in $(find . -type f -print) I'll be using your find..printf '%f\n' construct from now on -- there are a LOT of handy printf args for the `find` command in there ! -- kjh( :) gotta remember to review the man pages from time-to-time :) ) |
All times are GMT -5. The time now is 11:07 AM. |