Amit Kapila <amit.kapil...@gmail.com> wrote: > On Fri, Jun 27, 2014 at 3:51 PM, Joerg Schilling < > joerg.schill...@fokus.fraunhofer.de> wrote: > > Win-DOS does not support symlinks. Even newer versions that claim to > support > > symlinks make a difference between links to files and links to > directories. > > > > If you are not able to live with the Cygwin symlink emulation, I > recommend to > > use star and to tell it to make copies by using the option -copysymlinks > > Is it similar to what tar.exe -h option which can be used when > we form the tar on folders/files?
Tar has no options (like e.g. -f and in special not -h). Tar instead implements key letters. The fact that many tar implementations support to use '-' in front of key letters does not mean that "tar -f ..." is a compliant usage. Note that a specific CLI that works with gtar may not work with other tar implemenations exccept when this CLI is standard compliant. > The important point here is that the tar is created by using standard > tar format described in link below: > http://en.wikipedia.org/wiki/Tar_(computing) I believe that you are not talking about "tar" (see e.g. https://sourceforge.net/p/schillix-on/schillix-on/ci/default/tree/usr/src/cmd/tar/ for a source of the UNIX original tar implementation) but about gtar when talking about tar.exe. I am not sure how standard compliant gtar currently is and what you expect when using the term "standard tarformat), star is standard compliant with respect to the CLI and the archive format. Star however implements extensions by allowing to use options and CLI extensions and by allowing other archive formats. Jörg -- EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin j...@cs.tu-berlin.de (uni) joerg.schill...@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily