“tar” functionality does not nicely handle links, and never has. How about using “cpio –pdum” or “pax” to copy the directory?
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/48986b25-2c9b-48dd-a588-d1c9a66ff6bd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Ø Will "cpio -dum" work in Windows?
Pax is implemented natively on Windows, so use it by preference. It will understand that it will need to follow symlinks on Windows, seeing as windows has no concept of symlinks.
Cpio and tar are also present in the Cygwin toolkit, so if you are using unix tools, install Cygwin.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/fe1351f6-fef0-403d-9359-891f209fa67e%40googlegroups.com.