Skip to content

Explain dual id behavior when lsf google drive #7863

Closed

Description

@dzg

I suggest that what I describe at https://forum.rclone.org/t/lsf-adding-tabs-in-output/46130/2 should be documented under https://rclone.org/commands/rclone_lsf/

I was confused by display of both id of original file and id of shortcut separated by a tab.

Had to dig into https://rclone.org/drive/#shortcuts to realize 2nd id was the shortcut.

Made parsing difficult.

Learned about --drive-skip-shortcuts

Activity

  1. animosity022 commented on May 22, 2024

    @animosity022
    Contributor

    Feel free to submit a PR to improve the documentation.

  2. ncw commented on May 23, 2024

    @ncw
    Member

    Or we could change the code to return the id of the shortcut or the id of the real file.

    So 3 options

    1. document current behaviour
    2. return ID of shortcut
    3. return ID of real file

    What is your preference @dzg ?

    I probably prefer 1. as it doesn't lose any info.

  3. dzg commented on May 23, 2024

    @dzg
    Author

    Hey Nick!

    I agree, #1 is fine, the main thing is I was just scratching my head for hours trying to understand the problem, and thought it was a bug. If it were documented, I would have known to use --drive-skip-shortcuts.
    And I think it can be useful in some scenarios to show both.

    The key for me would be an explanation under rclone lsf -h

    (And, since you're here, let me say, once again, thank you for one of the best most useful piece of software I've ever used!)

  4. added a commit that references this issue on Jul 24, 2026
    caf3d1c
  5. added a commit that references this issue on Oct 6, 2026
    f32aa87
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions