all 21 comments

sorted by: hot top controversial new old
[–] 31 points 10 months ago (5 children)

If your soulseek and music directories are on the same partition, you can do hardlinks (cp -l) instead of moving files (mv), so the same file is available from the 2 locations while its content is only recorded once on your filesystem.

  • source
  • hideshow 5 child comments
  • [–] 6 points 10 months ago* (4 children)

    I never fully understood this concept. Why would I want my media files to remain in the "downloads" folder? It makes way more sense to move them to their appropriate "media" directories so their associated library software can see and properly catalog them.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 6 points 10 months ago (3 children)

    With hardlinks you would have both. File content can have multiple names pointing to it. That name basically includes the directory tree. So you can have ~/downloads/song.flac and ~/media/music/artist/album/song.flac. Both would point to exactly the same data on the drive. Not just a copy, but exactly the same spot on the drive.

    As to why, see OPs post.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 1 point 10 months ago* (2 children)

    Right, but the media management software (*arr stack, in my case) already knows what it has and won't call to the downloader for duplicates unless manually triggered to do so. It just seems like an overcomplication to have hardlinks in multiple directories when you really only need the relevant files to be in the media directories...

    I might be overthinking this.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 5 points 10 months ago (1 child)

    You might be underthinking it. With hardlinks the media management software looks in the media folder for the music files, while the downloading software looks in the downloads folder to avoid downloading duplicates. The files are stored only once but both softwares are happy.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 10 points 10 months ago

    Can't you just search whatever files you're sharing to see if you have it?

  • source
  • [–] 10 points 10 months ago (3 children)

    Assuming your filenames are unique, you can just run a recursive search for the file on your whole music library:

    find /path/to/search -type f -name "filename.ext"
    
  • source
  • hideshow 3 child comments
  • [–] 4 points 10 months ago* (last edited 10 months ago)

    You could write a bash script to move the file from the download folder to the music library too.

    Haven't done any bash scripting in a minute so sorry if this is off, but you get the gist:

    For files in /path/downloads/*; do mv "$files" /path/musiclibrary/; done

    You can also output a list of all the files in your music library with ls -alR /path/musiclibrary >> /downlaods/musiclibrary if you want a list

    Which you can grep for a file name to check if it's there

  • source
  • parent
  • [–] 3 points 10 months ago*

    Since OP mentoned SoulSeek, they may want to consider putting each download in a directory under the username they got it from and keeping their directory structure. Sort of like a URL.

  • source
  • parent
  • [–] 10 points 10 months ago (1 child)

    I use beets.io to manage my music. Once you've got it set up, you can just search for stuff with beet ls

  • source
  • hideshow 1 child comment
  • load more comments (-1 replies)
    [–] 3 points 10 months ago

    I would keep track of them in Tellico, it is designed for this purpose.

  • source
  • [–] 2 points 10 months ago (1 child)

    Could you just set soul seek to the same directory you're moving the files to eventually and save a step?

  • source
  • hideshow 1 child comment
  • load more comments (-1 replies)
    [–] 1 point 10 months ago

    I use sticky notes on my monitor.

  • source
  • [–] 0 points 10 months ago

    Can't you just use fsearch on all drives?

  • source
  • [–] 0 points 10 months ago

    If you use that to download straight to the folder you want to keep the files in, windows will tell you if you are attempting to download something that is already in the folder.

  • source