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

Strategy for customized home dir



On Tue, Nov 13, 2007 at 10:31:00PM +1100, Trent W. Buck wrote:
> On Tue, Nov 13, 2007 at 12:02:47PM +0100, Michael Creel wrote:
> > To create a customized home dir, I'm thinking of using the script
> > 
> > #!/bin/bash
> > echo "extracting pkuser home dir"
> > cd /home/pkuser
> > tar xfj /live/image/pkuser.bz2
>       ^^^
> 
> IIRC, the f switch has to be last (i.e. immediately followed by its
> argument).  Also, convention would be to name the file
> <whatever>.tar.bz2, not simply <whatever>.bz2.

Actually, if you're using gnu tar version of Etch, you don't really need
the options 'j' or 'z' .

-- 
               Tzafrir Cohen       
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com       
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



Reply to: