On Sun, Apr 3, 2016 at 2:57 AM, Max Power <open...@cpnetserver.net> wrote: > Hi guys! > Is there a way to view the deleted file or a progress bar > while you're erasing them? > > Thanks for Your reply.
Do you mean like this? yes | rm -i ./* 2>&1 | sed 's/remove //g; s/\?//g' |fmt If that kind of behavior is what you want, you could make that command line into a shell script, replacing the ./* with "$@". This would allow you to use it with xargs, for example (though, for xargs, you might also want to remove the |fmt and pipe the result of xargs to fmt...). If you want something different, I guess you would have to be a bit clearer on what you are asking for. Thanks, -- Raul