hi I have 2 thing I'm trying to do with .sfv files so I'll start with the first..
the first thing i want to do is to make an .sfv file for ALL files in the current folder into a single .sfv file and this command does it perfectly and even checks if .sfv already exists and skips if it does:
the second is to make an .sfv file for each file in the current folder and save it to it's own .sfv file and the best way i've found to do this so far is this:
Code:
for f in *.rar; do cksfv "$f" > "$f".sfv; done
this command works perfectly but unlike the first it doesn't check if the .sfv already exists so if there's 10 1gb files all with .sfv files already it'll just remake ALL the .sfv files again so as you can imagine it takes up a lot of time
if there a way to make it check if the .sfv already exists first? or possibly do it another better way?
thanks