vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| sealinux@gmail.com wrote: > How can I tar up my entire home directory, including the dot folders? > > I've used > > tar -czpf home.tar.gz /home/joe > > And it gets all the dot folders in all of the subdirectories, but the > ones in the root of /home/joe. > > What gives? Well, a quick test along these lines does not reproduce the problem: $ mkdir test $ cd test $ touch .hidden $ tar -czpf ~/tmp/tmp.tar.gz . $ tar tzf ~/tmp/tmp.tar.gz .. ../.hidden Are you certain you did not do tar -czpf home.tar.gz /home/joe/*? This would function as you described... (use /home/joe/{,.}* for a quick way to express 'and dotfiles' in the shell, or just use /home/joe). Joachim |
| ||||
| jKILLSPAM.schipper@math.uu.nl wrote: > Are you certain you did not do tar -czpf home.tar.gz /home/joe/*? This > would function as you described... (use /home/joe/{,.}* for a quick way > to express 'and dotfiles' in the shell, or just use /home/joe). > > Joachim That's exactly what I did. As is often the case, when I did it your way, it worked the way it was supposed to. Thanks again. |