tar backup & restore of current directory
I've been able to backup and restore a directory and its subdirectories using tar cvf foo.tar foo/ and tar xvf foo.tar.
This works well when I have a whole directory and subdirectory structure to archive and restore.
However, I need to create an archive of a web directory on my server, upload it to an ISP's web server and then extract the archive in the web root directory.
This means that I don't need the archived top level directory, but I haven't yet discovered a way to archive the current directory files and the subdirectories.
tar cvf - find . -print > backup.tar (O'Reilly)
but I get the following error
"You may not specify more than one `-Acdtrux' option"
Has anyone any ideas as to how I may do this?