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.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

android - IBM Worklight 6.1 [Application Error] There was a network error (file:///android_asset/www/index.html) -