[SOLVED] bash command has invalid option

view full story

http://www.linuxquestions.org – Hi, I'm trying to run a command from an ubuntu howto page, but there's something wrong with it that i dont understand? Can you point it out please? Thanks root@nnjond-desktop:/# tar -cvpzf backup.tar.gz -–exclude=/backup.tar.gz --exclude=/proc --exclude=/lost+found --exclude=/sys --exclude=/mnt --exclude=/media --exclude=/dev / tar: invalid option -- Try `tar --help' or `tar --usage' for more information. root@nnjond-desktop:/# (HowTos)