Create file hirarchy from paths in mac
I want to create a file hirarchy by reading a FileWithPath.txt file in mac.
Below is the sample content of the file which has all the paths in it:-
/1/
/1/2/a.txt
/2/
/3/
I want some terminal commands or mac code to create the above paths in the
file to actual folder and file hirarchy. Note since the hirarchy is dummy
the namae is imp. not the contents.
No comments:
Post a Comment