Portal Home > Knowledgebase > Articles Database > help with bash script
Posted by heropage, 11-03-2010, 03:45 PM I am trying to remove all the files except like [number].mpg in my folder. my folder have files like this 1234.mpg 3535.mpg abce.mpg abc123.mpg 3245.mpg .... I want to all the files which is not a number. In this example, I want to remove abce.mpg abc123.mpg I can not figure out a bash script to remove. Please help
Add to Favourites Print this Article