Been trying a bunch formats, but I can't manage to duplicate the folder structure only, without copying the full directory. Using the regex match bindings don't work either. It's probably the naming format, or the syntax of my regex matches that are returning errors, but I can't figure it out. Please help!
I am trying to simply duplicate a file structure inside a different parent folder.
The resulting structure will have multiple sub-folders, of different levels like this:
Folder1
Folder2
↳subfolder2.1
Folder3
↳subfolder3.1
↳↳subfolder3.1.1
↳subfolder3.2
But I can't do more than one level at a time. Is there a way to remove the beginning of a pathname, just duplicating a folder structure in another location?
[Plain File Mode] Duplicate Folder Structure only
Re: [Plain File Mode] Duplicate Folder Structure only




Code: Select all
{f}
Code: Select all
{f.name}
Code: Select all
{f.tail}
Code: Select all
{f.tail.tail}
Code: Select all
{f.dir}
Code: Select all
{f.dir.dir}
Code: Select all
{f[1]}
Code: Select all
{f[2]}
Code: Select all
{f[1..3]}
Code: Select all
{f[-3..-1]}