Timeline for Renaming folders based on a dictionary in form of a CSV file?
Current License: CC BY-SA 4.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| S Sep 20, 2021 at 9:18 | history | edited | Stephen Kitt | CC BY-SA 4.0 |
Missing do.
|
| Sep 19, 2021 at 20:54 | review | Suggested edits | |||
| S Sep 20, 2021 at 9:18 | |||||
| Jan 4, 2014 at 15:33 | comment | added | terdon♦ | It's quite clearly stated in the OP. It's both shown in the example and explicitly mentioned: "First obvious problem: Multiple Ids may map to a single name. I would solve this by creating all "new" folders up front and copy the folder contents instead." | |
| Jan 4, 2014 at 15:31 | comment | added | Édouard Lopez | your description did not expose the possibility of ambiguous id. I'm aware my script is not the solution, just a useful proposition :) | |
| Jan 4, 2014 at 15:17 | comment | added | terdon♦ |
Nice but your gawk will match any lines containing the id, not only those that have the specific id. It will match both foo123 and 123bar for the id 123 for example. It will also create subdirectories rather than copying files for the second folder with the same target id.
|
|
| Jan 4, 2014 at 15:13 | history | edited | Édouard Lopez | CC BY-SA 3.0 |
docs(script): suggest a starting point
|
| Jan 4, 2014 at 14:53 | history | answered | Édouard Lopez | CC BY-SA 3.0 |