Hi,

On Fri, 29 Jun 2001, Faisal wrote:

> # (cd /source_dir; tar -cf - *)|(cd /target; tar -xf - )
> 
> It effectively tars the source directory contents to stdout and then untars 
> it in the target directory. Beware tho' that if you have any hidden (read 
> .dot files) you'll miss it because of the '*' 

I think this will take care of dot files also:
# (cd /source_dir;cd ..; tar -cf - source_dir)|(cd /target_dir;cd ..; tar
-xf -)

Basically, instead of going into the directory, just remain one level up.

~Nitin

> 
> -Faisal.
> 
> 
> On Friday 29 June 2001 00:14, Ritesh S wrote:
> > Here is what I did ...
> > used partition magic created a new partition
> > mounted it in linux... converted it to reiserfs...
> > copied the whole "/" (without mounting my fat 32 ie
> > win partitions .... take care of this .. to do this is
> > stupid) to the new partition
> > My /boot is a separate partition.... thus no prob else
> > you will have to update your lilo...
> > modified lilo.conf to add new kernel with root = new
> > reiserfs partition.... modified the fstab in the new
> > partition top have that as the root and the old one to
> > be mounted as a separate one....
> >
> > I think freeos.com has an article on the same...
> > racing to reiserfs or soo.. if you cant find it I can
> > pass it on as a text file
> >
> > Note: Do not modify anything in the present etx2...
> > dont touch the fstab of ext2 and have a separate entry
> > in lilo.conf for the new partition ... this way you
> > always have your present system to fall back on
> >
> > Ritesh
> >
> > --- Vinu Chandran R C <[EMAIL PROTECTED]> wrote:
> > > Hi,
> > >
> > >     But if I'm having data in a partition and if I
> > > want to protect the data, will
> > > this work ? mkreiserfs will format the whole
> > > partition, isn't it ???
> > > Please advise !!!
> > >
> > > regards
> > >
> > > Vinoos.
> > >
> > > Shridhar Daithankar wrote:
> > > > I would say it's just 'mkreiserfs
> > >
> > > /dev/hda4<hypothetical>' followed by a mount.
> > >
> > > > Nothing else is required.
> > > >
> > > >  Shridhar
> > > >
> > > > Penguin wrote:
> > > > > Hi,
> > > > >
> > > > > I have got an empty partition at home for
> > >
> > > Oracle. Say if I want
> > >
> > > > > to make that partition reiserfs, what steps I
> > >
> > > need to follow. Any link for
> > >
> > > > _______________________________________________
> > > > linux-india-help mailing list
> > > > [EMAIL PROTECTED]
> >
> > http://lists.sourceforge.net/lists/listinfo/linux-india-help
> >
> > > _______________________________________________
> > > linux-india-help mailing list
> > > [EMAIL PROTECTED]
> >
> > http://lists.sourceforge.net/lists/listinfo/linux-india-help
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Get personalized email addresses from Yahoo! Mail
> > http://personal.mail.yahoo.com/
> >
> > _______________________________________________
> > linux-india-help mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/linux-india-help
> 
> 


_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to