Timeline for How to copy directories with preserving hardlinks?
Current License: CC BY-SA 3.0
14 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 7, 2024 at 6:06 | review | Suggested edits | |||
| May 7, 2024 at 12:56 | |||||
| Feb 27, 2019 at 22:26 | comment | added | Johannes Overmann | @hraban: Who is using the BSD tools on MacOS? :-) (SCNR) | |
| Feb 27, 2019 at 22:24 | comment | added | Johannes Overmann | @WhyNotHugo: How is POSIX "may more standard?". POSIX is the stuff which brought us where we are. Did you know that all Windows versions since Windows NT are fully POSIX compliant? They have a path length limitation of 255 characters when using the POSIX file I/O functions, which renders them useless. Did you know that Solaris, Irix, HP-UX are all POSIX compliant, and yet all the arguments to their tools differ (e.g. tar). cp -a is a minimum requirement for any cp version which wants to replace GNU copy. | |
| Feb 19, 2018 at 17:39 | comment | added | hraban | GNU is far from standard no the desktop, what with Mac OS X shipping BSD tools. This won't work on Mac. | |
| Aug 1, 2012 at 20:30 | comment | added | Grzegorz Wierzowiecki | So, I am happy to see non-gnu answers in topic as well :). (Please remember that this answer was edited, and previously has gnu and non-gnu answers, not it's split into three, so you can up-vote whichever you want) | |
| Aug 1, 2012 at 2:46 | comment | added | WhyNotHugo | It's not reasonable to assume he uses the same OS as you, and it's not common practice to install gnu base tools on non-gnu systems. As a minimum, you should always clarify this. Using truisms DECREASES portability; POSIX is way more standard. | |
| Jul 31, 2012 at 21:57 | comment | added | cas | @Hugo: there's nothing wrong with using GNU-specific args to standard tools. GNU versions are the de-facto standard these days, and even when they weren't pre-installed, it was common practice to install GNU tools (I know I always did - they were simply better than, e.g, solaris and *bsd versions, and they provided consistency between different *nixes). It's probably good practice to point out GNUisms when you use them but not required. Also Grzegorz didn't say "not on linux" so it's reasonable to assume that that's the environment he's talking about. | |
| Jul 31, 2012 at 20:37 | vote | accept | Grzegorz Wierzowiecki | ||
| Jul 31, 2012 at 18:42 | comment | added | Alan Curry | @GrzegorzWierzowiecki split accomplished | |
| Jul 31, 2012 at 18:38 | history | edited | Alan Curry | CC BY-SA 3.0 | splitting answer |
| Jul 31, 2012 at 18:17 | comment | added | Grzegorz Wierzowiecki | I've checked - cp -a works ! (please @AlanCurry separate answers into three) | |
| Jul 31, 2012 at 13:03 | comment | added | Grzegorz Wierzowiecki | You gave three answers in one. Could you split them into three so they can be commented and evaluated separately ? (Tip: You can edit this, to leave only one - for example "cp -a". Later add two more, for "tar" and "pax") | |
| Jul 30, 2012 at 15:11 | comment | added | WhyNotHugo | +1 on tar, -1 for using gnu-specific arguments for cp. | |
| Jul 29, 2012 at 21:38 | history | answered | Alan Curry | CC BY-SA 3.0 |