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

convert: symlink/hardlink instead of copying files that don't need transcoding #2324

Closed
kierdavis opened this issue Dec 16, 2016 · 4 comments
Labels
feature features we would like to implement

Comments

@kierdavis
Copy link
Contributor

My music workflow involves creating a copy of my library in MP3 format, so that it can be uploaded to Google Play Music. The convert plugin does this brilliantly; however, since most (but not all) of my library is in MP3 format to begin with, this results in copying a lot of files. It looks like it should be fairly straightforward to allow convert to symlink or (when supported) hardlink files that don't need to be transcoded, instead of copying them. This would make the conversion process faster and the final result would generally occupy less disk space.

@sampsyo sampsyo added the feature features we would like to implement label Dec 16, 2016
@sampsyo sampsyo changed the title [feature request] convert: symlink/hardlink rather than copying convert: symlink/hardlink instead of copying files that don't need transcoding Dec 16, 2016
@sampsyo
Copy link
Member

sampsyo commented Dec 16, 2016

Sounds like a good idea; thanks!

Vexatos added a commit to Vexatos/beets that referenced this issue Aug 20, 2019
As proposed in beetbox#2324.

Updated commit from beetbox#2326.

Co-authored-by: Vexatos <stuarzt@gmx.de>
Vexatos added a commit to Vexatos/beets that referenced this issue Aug 20, 2019
As proposed in beetbox#2324.

Updated commit from beetbox#2326.

Co-authored-by: Vexatos <stuarzt@gmx.de>
@Vexatos
Copy link
Contributor

Vexatos commented Aug 20, 2019

It might be a neat idea to allow specifying a custom copy command, like

convert:
  copy_command: ln $source $dest

This would allow any sort of links, including hardlinks and reflinks, if the user knows what they are doing.

Vexatos added a commit to Vexatos/beets that referenced this issue Aug 20, 2019
Overrides the --link option.

As proposed in beetbox#2324.
@kierdavis
Copy link
Contributor Author

Resolved by #3348

@wisp3rwind
Copy link
Member

For the record, there's also https://github.com/geigerzaehler/beets-alternatives

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature features we would like to implement
Projects
None yet
Development

No branches or pull requests

4 participants