Re: Copying of symbolic links not working as expected

2019-04-21 Thread LRN
On 21.04.2019 14:45, Matt D. wrote: > > I had the same problem while trying to tar and untar: > > tar: aosp/source/system/vold/.git/shallow: Cannot create symlink to > ‘../../../.repo/projects/system/vold.git/shallow’: No such file or directory My current workaround for *this* particular proble

Re: Copying of symbolic links not working as expected

2019-04-21 Thread Eliot Moss
On 4/21/2019 7:45 AM, Matt D. wrote: Note that this creates a chicken-and-the-egg problem when copying paths which contain symbolic links which will be but are not yet valid at the time of copying. For example, copying a very large and complex tree with many lots of links will result in a broke

Re: Copying of symbolic links not working as expected

2019-04-21 Thread Matt D.
Note that this creates a chicken-and-the-egg problem when copying paths which contain symbolic links which will be but are not yet valid at the time of copying. For example, copying a very large and complex tree with many lots of links will result in a broken copy. I'm trying to copy a directo

Copying of symbolic links not working as expected

2019-04-21 Thread Matt D.
I'm experiencing a discrepancy between Linux cp and Cygwin cp when copying native symbolic links: Test/ FolderA/ 123/ 456/ -> 123/ On Linux I can: > cp -r FolderA/ FolderB/ > ls -l FolderB/ total 0 drwxrwxr-x. 2 account group 45 Apr 21 05:47 123 lrwxrwxrwx. 1 account group 4 A