Hi all,
This is the scenario - I want to remove some files from a directory and not all of them. I've found out that if you use the command ls | xargs rm, it will remove all the files from the directory. The problem is that I dont want to delete all the files. I only want to remove some of them. How can I modify this command or is there another way of say removing some of the files and not all of them for instance - how can I remove all the files that begin with a particular letter. It becomes a bit monotonous if I delete the files one by one as there's quite a lot of files in the directory.
Thanks in advance.
OS. Solaris 10 x86