On Sat, 9 May 1998, Mark Belanger wrote:

> > for f in `ls /root/partition1`
> > do
> > tar -cpvO $f | tar -x -C/root/partition2
> > done
> 
> Not to be picky but that "for" loop would omit any
> hidden (.) files and dirs in /root/partition1
> 

 well, i don't think there would be a need in such, since there hardly
could be hidden files. (except, maybe, .bash_history, which created when
you boot machine in single user mode, but i don't think you would need
it..:))
 to fix this bug you may add `...;ls .[a-zA-Z]*` or whatever..


Reply via email to