|
Technobabble Post your general Need for Help questions here.
• Lossy or Lossless? Moderators |
|
Thread Tools |
#1
|
||||
|
||||
Batch Files - "How to" + Recipes (add 'em if you got 'em!)
So I found out how to make a batch file...
Right click desktop > new txt file > open this txt file > type in (cut and pasted one from uhclem) batch file recipe > save as "all files" with .bat extension. Tested it and it works! I thought it would be cool and helpful if people posted their recipes in this thread for those of us who don't know how to figure it out. No members have liked this post.
Last edited by feralicious; 2005-03-20 at 01:43 PM. |
#2
|
||||
|
||||
Flac Fingerprints batch file - from uhclem
Flac Fingerprints
previously posted by uhclem: I use a simple batch file to create the fingerprint. It's simple because you just drag 'n' drop the folder containing your new flacs onto the batch file and voila it produces a fingerprint file for you in the folder. Here's the batch file I use: @echo off %~d1 & cd "%~1" for %%F in (*.flac) do metaflac --show-md5sum --with-filename "%%F" >> "%~n1-ffp.txt" No members have liked this post.
|
#3
|
||||
|
||||
Re: Batch Files - How to plus Recipes?
Remember - that creates a text file. If you just want to do a quick (minus the text) just create a new batch files minus the text command!
@echo off %~d1 & cd "%~1" for %%F in (*.flac) do metaflac --show-md5sum --with-filename "%%F" pause
__________________
You have been banned for the following reason: No reason was specified. Date the ban will be lifted: Never No members have liked this post.
|
#4
|
||||
|
||||
Re: Batch Files - How to plus Recipes?
For a shntool md5
@echo off %~d1 & cd %* for %%T in (shn flac wav ape) do if exist *.%%T shntool md5 *.%%T>>shntool.md5.txt pause
__________________
You have been banned for the following reason: No reason was specified. Date the ban will be lifted: Never No members have liked this post.
|
#5
|
||||
|
||||
Re: Batch Files - How to plus Recipes?
shntool len
@echo off %~d1 & cd %* for %%T in (shn flac wav ape) do if exist *.%%T shntool len -u mb *.%%T pause If you want to save it add the text command on the end!
__________________
You have been banned for the following reason: No reason was specified. Date the ban will be lifted: Never No members have liked this post.
|
#6
|
||||
|
||||
shntool len with txt file added to folder
shntool len with txt file added to folder
Quote:
shntool len with txt file added to folder: @echo off %~d1 & cd %* for %%T in (shn flac wav ape) do if exist *.%%T shntool len -u mb *.%%T >> "%~n1-shntool.txt" Yay! edit by U2Lynne: poster asked that batch file be corrected as per uhclem's comments below. We don't want to confuse anyone who doesn't read the whole post. No members have liked this post.
|
#7
|
||||
|
||||
Re: Batch Files - How to plus Recipes?
Quote:
No members have liked this post.
|
#8
|
|||
|
|||
Re: shntool len with txt file added to folder
Quote:
No members have liked this post.
|
#9
|
||||
|
||||
Re: shntool len with txt file added to folder
Quote:
But it worked. Ah... I think I had an apostrophe after the %%T when I didn't have the red part, and when I added the red part I got rid of that. So it's probably just sitting there looking pretty while the rest of it does all the work. I'll try without it. Yep works fine without it. I'll ask a Mod to edit that post. Thanks. Can you post a Batch file for fixing SBEs? I just checked a show and all files have them. No members have liked this post.
|
#10
|
||||
|
||||
Re: shntool len with txt file added to folder
Quote:
I do have a batch file for shntool sbe but I never used it so I don't think it is a good ise to post
__________________
You have been banned for the following reason: No reason was specified. Date the ban will be lifted: Never No members have liked this post.
|
#11
|
||||
|
||||
Re: Batch Files - "How to" + Recipes (add 'em if you got 'em!)
the only thing with TLH fixing SBEs is if I only want to pad the last track. uhclem gave me a command for shntool to do this (haven't tried it, will post when I do), not sure if TLH can do that. I'm sure it will be able to in time.
__________________
Checksums Demystified | ask for help in Technobabble thetradersden.org | ttd recommended free software/freeware webring shntool tlh eac foobar2000 spek audacity cdwave vlc Quote:
No members have liked this post.
|
#12
|
||||
|
||||
Re: Batch Files - "How to" + Recipes (add 'em if you got 'em!)
No - TLH will not fix the silence on the end of the last track - you need to use shntool for that!
__________________
You have been banned for the following reason: No reason was specified. Date the ban will be lifted: Never No members have liked this post.
|
#13
|
||||
|
||||
Re: Batch Files - "How to" + Recipes (add 'em if you got 'em!)
the convenient thing, too, is that if you've installed TLH you've also installed SHNtool. I copied the command for padding the final track with silence on my other computer, I'll post it here later on.
__________________
Checksums Demystified | ask for help in Technobabble thetradersden.org | ttd recommended free software/freeware webring shntool tlh eac foobar2000 spek audacity cdwave vlc Quote:
No members have liked this post.
|
#14
|
||||
|
||||
Re: Batch Files - "How to" + Recipes (add 'em if you got 'em!)
Well - I just downloaded this from eztree (shocking) and this is what I got when I ran the shntool len report
ELECTRIC LADY STUDIOS, NEW-YORK JUNE 25 & 26 + JULY 23 1970 The directory name is invalid. length expanded size cdr WAVE problems filename 3:50.41 40668476 --- -- ---xx Track01.flac 0:55.16 9740528 -b- -- ---xx Track02.flac 0:22.71 4047836 --- -- ---xx Track03.flac 4:02.53 42813500 --- -- ---xx Track04.flac 6:29.08 68638460 --- -- ---xx Track05.flac 4:35.59 48648812 --- -- ---xx Track06.flac 12:48.13 135505416 -b- -- ---xx Track07.flac 21:19.38 225705424 -b- -- ---xx Track08.flac 3:32.49 37512092 --- -- ---xx Track09.flac 1:25.34 15074012 --- -- ---xx Track10.flac 0:25.74 4584092 --- -- ---xx Track11.flac 4:43.64 50071772 --- -- ---xx Track12.flac 0:33.05 5833004 --- -- ---xx Track13.flac 3:39.71 38798636 --- -- ---xx Track14.flac 4:19.31 45760556 --- -- ---xx Track15.flac 5:11.12 54888668 --- -- ---xx Track16.flac 78:15.39 789.92 MB (totals for 16 files, 0.5838 o verall compression ratio) I use dthe shntool sbe batch file and: length expanded size cdr WAVE problems filename 3:50.41 40668476 --- -- ----- Track01-fixed.wav 0:55.16 9739676 --- -- ----- Track02-fixed.wav 0:22.71 4047836 --- -- ----- Track03-fixed.wav 4:02.53 42813500 --- -- ----- Track04-fixed.wav 6:29.08 68638460 --- -- ----- Track05-fixed.wav 4:35.59 48648812 --- -- ----- Track06-fixed.wav 12:48.13 135505820 --- -- ----- Track07-fixed.wav 21:19.38 225705020 --- -- ----- Track08-fixed.wav 3:32.49 37512092 --- -- ----- Track09-fixed.wav 1:25.34 15074012 --- -- ----- Track10-fixed.wav 0:25.74 4584092 --- -- ----- Track11-fixed.wav 4:43.64 50071772 --- -- ----- Track12-fixed.wav 0:33.05 5833004 --- -- ----- Track13-fixed.wav 3:39.71 38798636 --- -- ----- Track14-fixed.wav 4:19.31 45760556 --- -- ----- Track15-fixed.wav 5:11.13 54891020 --- -- ----- Track16-fixed.wav 78:15.40 789.92 MB (totals for 16 files, 1.0000 o verall compression ratio) So I guess it works (but the command is for backward fix)
__________________
You have been banned for the following reason: No reason was specified. Date the ban will be lifted: Never No members have liked this post.
|
#15
|
|||
|
|||
Re: shntool len with txt file added to folder
Quote:
No members have liked this post.
|
The Traders' Den |
Similar Threads | ||||
Thread | Forum | Replies | Last Post | |
what does "dvd video files reallocation failed" mean? - chewie420 | Technobabble | 1 | 2006-03-04 03:07 PM |
|
|