question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Dropped files that are named same in sub-folders skipped?

See original GitHub issue

Using dashboard plugin, I see that it parses the sub-folders if I drop a folder (is there a limit to how many sub-folders deep it will do??) I noticed that it won’t show the files in the UI of sub-folders if it finds the names are the same.

I do notice that on the file-added event it does know about that file but UI never shows it.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
goto-bus-stopcommented, May 29, 2019

Is there a limitation on how many levels deep of sub-folders is supported?

We recurse into subfolders, so there should be no practical limit. (unless you manage to blow the stack by going thousands of layers deep 😆 )

1reaction
goto-bus-stopcommented, May 29, 2019

Are only the names the same or are they the same file (same content, date etc) in two separate folders?

Files are assigned IDs by Uppy based on their name, modified date, and size. These IDs must be unique, if two files have the same name/date/size they only one of them will be added. This is due to internal limitations that are hard to change.

We recently discussed changing the ID generation to include the folder names when you drop a folder into Uppy, so that you can add multiple identical files if they are in different folders. This should be coming up quite soon after some of the existing PRs fixing .relativePath properties are merged.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to skip a folder and its sub-folder and files from getting ...
I want to exclude "_tasks" folder and its contents from getting deleted but the scripts deletes the files and folders inside it even...
Read more >
If a folder contains sub-folders and files, is there a Terminal ...
PS: To skip several directories use ! \( -name subFolder1 -o -name subFolder2 \) , to delete without prompting use -exec rm -r...
Read more >
Hitchhiker's Guide to Robocopy - PDQ
Let's go over a few of the more common methods of transferring files and see how they stack up to the competition. If...
Read more >
The Ultimate Guide to Robocopy - Adam the Automator
Learn all of the robocopy commands that you can use in data migration, syncing folders, and copying even large files.
Read more >
Loop (files & folders) - Syntax & Usage - AutoHotkey
The Loop Files statement retrieves the specified files or folders, one at a time.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found