bash - How can I get a cleaner file information with print command? -
I have the command to dump all Java and XML files:
Find -name '*. * '-print -ls I get the following output:
./ auth-jaas / pom.xml 562949954141667 2 ------- ---- 1 John 1282 February 14 2011 ./auth-jaas/pom.xml Is there a way to get something smaller this way:
1282 February 14, 2011. /auth-jaas/pom.xml I'm only interested in file size and timestamp.
Instead of using du : $ du --time file 4 2013-03-20 19:49 with file find : $ Find -name 'file' -exec du --time {} +
Comments
Post a Comment