Please be more specific. What do you mean by "loop a". Are you talking about an iso/loop device? Why can't you use find...are you trying to delete files in one task by piping and exceeding the shell size for arguments?
As stated.. more info would be welcome.
Are those files in use?
If you have al lot of 0 byte files.. Is your filesystem corrupt?
Whats wrong with: (apart from that it does not check)?
find . -type f -size 0 | xargs rm -f
- GarlandJoseph 2700060BSP
- teletype 120000A3NX
- Nikolay_Mitev 270005G9XP
you can use this command
du -xak <> | sort -rn | head -20 to first 20 big files as per size.
by typing Ctrl and Alt similtaneously and select all files which need to select
then assign all file in to letter a='paste all files here'
then using the script
for i in $a
before you echo $a will show file names need to be deleted.