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.
post
Can't you just search whatever files you're sharing to see if you have it?
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"
Amazing some people actually memorise that, I just abuse pipes and
find /path/ | grep file
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
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.
I use beets.io to manage my music. Once you've got it set up, you can just search for stuff with beet ls
Could you just set soul seek to the same directory you're moving the files to eventually and save a step?
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.
all 21 comments