I’m using Linux and I’m trying to avoid accidentally downloading the same files multiple times.
For example, I use Soulseek to download music. After a song finishes downloading, I usually move it to another folder (my main music library). Later on, when I’m searching again, I don’t always remember whether I already have a particular song, and I end up re-downloading it.
Is there a good way on Linux to keep track of what I’ve already downloaded, even after files are moved to different folders, so I can avoid downloading duplicates? Ideally, I’d like something that doesn’t require manually searching my entire music library every time.
One idea I had was leaving a placeholder file behind in the original download directory and configuring Soulseek not to overwrite it, but I’m not sure if Soulseek even has that option.
What tools or workflows would you recommend for this?


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 fileSince 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.
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