Timeline for Is it safe to convert Windows file paths to Unix file paths with a simple replace?
Current License: CC BY-SA 3.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 8, 2016 at 14:32 | comment | added | Kaz | @Jules OP is transferring files from Windows. This answer explains that there are no backslashes to be replaced. They are not in the Windows filesystem itself at all. All the paths are expressible with forward slashes (and Windows even understands it). | |
Jul 8, 2016 at 7:22 | comment | added | Jules | While this is true, I don't believe it's helpful for the OP's question which (AIUI) involved converting existing path names, which would already have included the backslashes in them. It is very useful for writing cross-platform code to realise that you can just use forward slashes and have them work in most contexts, but in this case I don't think it helps. | |
Jul 8, 2016 at 3:16 | history | answered | Kaz | CC BY-SA 3.0 |