Re: Other way to do it > That's what I love about UNIX...so many > different ways to do things! :-) > > Anyway...I'll keep working on this and > make it even more powerfu...
Other way to do it Hi, well, maybe you already know this, but under bash with the extglob shell option enabled, you can do this: rm !(file1 file2) to remove everything but file1 and file2.