remove directory name from linux find result -
when using find command below
find /asdf/asset -mtime -3 -printf "%f " > log.txt
result below
asset text.txt movie.ts
asset not exist, it's directory. how hide directory name result.
when using find command below
find /asdf/asset -mtime -3 -printf "%f " > log.txt
result below
asset text.txt movie.ts
asset not exist, it's directory. how hide directory name result.
Comments
Post a Comment