Tiny Core Linux
Tiny Core Extensions => TCE Talk => Topic started by: helander on July 01, 2009, 07:29:55 PM
-
When I copy a file tree, either using cp or tar (tar create piped to tar unpack), from a loop mounted tcz to a loop mounted home, the regular files copied do not show up as regular files at the destination, but as links to the source files in the loop mounted tcz. What causes this behavior? Is it intentional? How could I circumvent it, so that regular copies are created at the destination?
/Lars
-
It is intentional - it is the 'definition' of tcz's. If this is not wanted, perhaps using .tce's would be better suited.
If you just want cp/tar to derefence all symlinks, there are flags that can be passed to those to do that.
-
If you just want cp/tar to derefence all symlinks, there are flags that can be passed to those to do that.
It seems that cp have flags suitable for this, but I do not see that tar has, correct?
-
Gnu tar has the --dereference flag for this.