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

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

رد على