Skip to content

[Feature Request] Download the contents of a share into a directory ignoring the share's root folder #8

@remailednet

Description

@remailednet

For example:
If https://drive.google.com/drive/folders/123123123 is 'Folder_1' with the contents of 'SubFolder_1', 'file_1', 'file_2'

goodls -u https://drive.google.com/drive/folders/123123123 -d /localfolder/here/

I would like the end result to be:

/localfolder/here/SubFolder_1
/localfolder/here/SubFolder_1/file_1
/localfolder/here/SubFolder_1/file_2

and not:

/localfolder/here/Folder_1/SubFolder_1
/localfolder/here/Folder_1/SubFolder_1/file_1
/localfolder/here/Folder_1/SubFolder_1/file_2

Possible to add a switch to ignore the root folder of the share?
Or possibly if -d contains a trailing slash, ignore the root folder of the share?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions