Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added option to symlink (ln -s) #48

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

cs-mshah
Copy link

@cs-mshah cs-mshah commented Mar 8, 2023

This solves #31. The advantage of having symlinks (ln -s) is that we can just reference the dataset stored at some other place and create a folder structure at any/multiple desired locations as required by some codebases. Deleting symlinks doesn't delete the original dataset.

The changes have been made to support backward compatibility of move=True and move=False along with the addition of move='symlink'. All tests have successfully passed.

@a1302z
Copy link

a1302z commented Apr 5, 2023

This works wonderfully. Instead of cloning the entire dataset now, I just have links to the original image, which saves so much time and memory. I am very much in favor of merging this into the package.

@catevita
Copy link

catevita commented Dec 7, 2023

hi, this option would be amazing, will it be integrated?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants