![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to delete empty lines | Aejaz | UNIX for Advanced & Expert Users | 5 | 04-30-2008 07:27 AM |
| File is not empty? | lesstjm | Shell Programming and Scripting | 7 | 07-12-2007 07:21 AM |
| empty file in hp-ux | Mizi | UNIX for Advanced & Expert Users | 2 | 08-09-2006 03:29 AM |
| delete multiple empty lines | whatisthis | Shell Programming and Scripting | 3 | 11-09-2005 01:42 PM |
| how to delete empty files in a shell script | rpnuge | UNIX for Advanced & Expert Users | 1 | 07-11-2002 01:56 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Delete an empty file from dir.
Hi,
I have an dir which has 50K file, some of them are empty. I want to delete the empty file from the dir. I am planning to use the following command. ls -l | grep " 0 " | awk '{print $9}' I can copy this to an file and then how do I use this file to delete the empty files.... Any help will be appreciated. Thanks. |
| Forum Sponsor | ||
|
|