[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ProgSoc] getting the website files



Andi Halliday wrote:
> arhallid@nospam.ftoomsh:/home/www/html$ tar -cvzf
> ~/progsoc.org-webpages.tar.gz --exclude=./lists --exclude=./horde --exclude=
> ./clubs
> tar: Cowardly refusing to create an empty archive
> Try `tar --help' for more information.
> arhallid@nospam.ftoomsh:/home/www/html$
> 
> 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):

antony@nospam.ftoomsh:/home/www/html$ tar -cvzf ~/progsoc.org-webpages.tar.gz 
--exclude=./lists --exclude=./horde --exclude=./clubs .
./
./apache_pb.gif
./about/
./about/minutes/
./about/minutes/index.html
./about/minutes/19960530.html
./about/minutes/footer
./about/minutes/19960402.html
./about/minutes/EM-19960701.html
./about/minutes/SM-19960808.html
./about/minutes/EM-19961125.html
./about/minutes/EM-19970218.html
...


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 
in there!

-Antony


-
You are subscribed to the progsoc mailing list. To unsubscribe, send a
message containing "unsubscribe" to progsoc-request@nospam.progsoc.uts.edu.au.
If you are having trouble, ask owner-progsoc@nospam.progsoc.uts.edu.au for help.