Search Results

Search: Posts Made By: ghostdog74
10,848
Posted By ghostdog74
don't get a file name like that using ls -1 and...
don't get a file name like that using ls -1 and print column 9. if you have spaces in the file name , you will not get the correct file name. Use find instead, then something to count inside each...
10,848
Posted By ghostdog74
if your ls has -R, ls -1R| nawk...
if your ls has -R,

ls -1R| nawk '/^\./{s=$0;getline;if($0==""){print "empty: "s}}'


NB:tested on linux, not solaris, but you can give nawk a try. run it on top directory where you want to...
Showing results 1 to 2 of 2

 

Featured Tech Videos

All times are GMT -4. The time now is 02:01 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy