Results 1 to 5 of 5
Hi there,
i want to delete all files with upper case letters A, B, C, D and lower case letters from e-z, and end in .tga from a directory called ...
- 05-30-2009 #1Just Joined!
- Join Date
- May 2009
- Posts
- 3
rm shell commands
Hi there,
i want to delete all files with upper case letters A, B, C, D and lower case letters from e-z, and end in .tga from a directory called /dir1.
What command would work?
Thanks!
- 05-30-2009 #2Linux User
- Join Date
- Aug 2006
- Posts
- 458
show some examples of those files that you want deleted, and some that is ok not to delete.
- 05-30-2009 #3Just Joined!
- Join Date
- May 2009
- Posts
- 3
I would do that if i could...but this question is from a past exam paper....and i'm a complete newbie to linux.
- 05-31-2009 #4Just Joined!
- Join Date
- Dec 2006
- Posts
- 85
hmm, im weary to give you an answer as, like you said it was an exam question...and i have no way of knowing if its a current exam...
so i will give you a big hint (lik 80% of the answer)
eh screw it i'll just tell you cus its too simple to just hint at:
rm A*.tga., B*.tga, C*.tga, D*.tga, e*.tga,...etc
simple command, should do just that. -_- now this better not have been a homework question...
- 05-31-2009 #5Just Joined!
- Join Date
- May 2009
- Posts
- 3
lol nah its definitely not homework...but thanks for help =]


