[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ProgSoc] getting the website files
Andi Halliday wrote:
> firstname.lastname@example.org:/home/www/html$ tar -cvzf
> ~/progsoc.org-webpages.tar.gz --exclude=./lists --exclude=./horde --exclude=
> tar: Cowardly refusing to create an empty archive
> Try `tar --help' for more information.
> thats what it spits out :( damn my incompetence. must learn UNIX!!! :)
> any ideas?
You left the final period (".") off the end of the command. Basically
this is saying, "grab all the files and subdirectories in the current
directory (.), excluding the lists, horde, and clubs directories".
Leaving the period off the end is saying, "grab nothing, excluding the
lists, horde, and clubs directories", ie. still nothing.
So just to reiterate, the command in full is (followed by the first few
lines of output):
email@example.com:/home/www/html$ tar -cvzf ~/progsoc.org-webpages.tar.gz
--exclude=./lists --exclude=./horde --exclude=./clubs .
You might like to dump a few extra --exclude's in there that I noticed;
mainly, --exclude=./local/cdburial/ which seemed to have a log of JPEG's
You are subscribed to the progsoc mailing list. To unsubscribe, send a
message containing "unsubscribe" to firstname.lastname@example.org.
If you are having trouble, ask email@example.com for help.