Bash Question


Recommended Posts

This happens to me quite abit when I want to delete a torrent file. Below is an example

mainbox shane # ls | grep Invas
-{mininova.org}- Invasion.S01E14.HDTV.XviD-LOL.[eztv].torrent

I am not sure how to delete this. I have tried single quotes, tab completion, wildcards, but I always get the same error.

mainbox shane # rm -\{mininova.org\}-\ Invasion.S01E14.HDTV.XviD-LOL.\[eztv\].torrent
rm: invalid option -- {
Try `rm --help' for more information.

another example

mainbox shane # rm *
rm: invalid option -- {
Try `rm --help' for more information.

What can be done to remove this file?

Link to post
Share on other sites

Thanks that will come in handy :-)

this question led to another. I ended up using konqueror to remove the file. I r-clicked and sent it to my trash. I can not seem to find this file, or am not even sure what directory kde used for trash.

edit added later//

I do have a .Trash directory, but it is empty. I am still not sure where all of the stuff I moved to my trash went.

Edited by shanenin
Link to post
Share on other sites

now I feel dumb, I did not think of doing a search :blush:

here it is, incase anyone else would like to know where the kde trash is

shane@mainbox ~ $ find ~ -name '*Invasion.S01E14*torrent'
/home/shane/.local/share/Trash/files/-{mininova.org}- Invasion.S01E14.HDTV.XviD-LOL.[eztv].torrent

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...