i have created a file called {--test} and tried to remove it and had the
same results, well, i only fired the commands {mv ./--test ./test} then {rm
-f ./test} having the file removed from the directory.On 1/26/07, Yaman Saqqa <[EMAIL PROTECTED]> wrote: > > [EMAIL PROTECTED]:~$ rm --newer > rm: unrecognized option `--newer' > Try `rm ./--newer' to remove the file `--newer'. > Try `rm --help' for more information. > [EMAIL PROTECTED] :~$ rm ./--newer > [EMAIL PROTECTED]:~$ > > > :D > > On 1/26/07, Al-Faisal El-Dajani <[EMAIL PROTECTED] > wrote: > > > > Hello all, > > I recently ran the following command: > > tar zcvf --newer $Date $Backup.tgz folders_to_backup > > > > but since the --newer option followed the f option, a tar file called > > "--newer" was created. I tried deleting it using the following methods: > > rm --newer > > rm \-\-newer > > rm '--newer' > > rm "--newer" > > rm `--newer` > > rm '\-\-newer' > > rm * > > find . -iname *newer -exec rm > > mv --newer /dev/null > > > > but they all gave me the same thing, invalid option --newer. In the end, > > i deleted it using the GUI. But how do you delete files with strange names? > > > > -- > > Al-Faisal El-Dajani > > Phone: +962-7-77 799 781 > > P.O Box: 140056 > > 11814 Amman, Jordan > > > > > > > -- > abulyomon > > www.KiLLTHeUPLiNK.com > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Jolug" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups-beta.google.com/group/Jolug?hl=en-GB -~----------~----~----~----~------~----~------~--~---

