Unix Technical Forum

SEO

vBulletin Search Engine Optimization


Go Back   Unix Technical Forum > Unix Operating Systems > Debian Linux > Debian Linux support

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-22-2008, 04:47 AM
Calab
 
Posts: n/a
Default par2 won't ignore filename case

I've got several downloads with PAR 2.0 checksum files. Unfortunately par2
(version 0.4) detects that several of the files are missing because some
ofthe filenames are all uppercase instead of the lowercase that the files
originally existed as.

Is there a switch I can specify to tell par2 to ignore the case of a
filename? MAN page doesn't seem to indicate one, and I don't see one
searching online.

Is there a command line alternative to par2? Which would be recommended for
this Debian Lenny PC?

Thanks!


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 03-07-2008, 02:28 PM
Ken Teague
 
Posts: n/a
Default Re: par2 won't ignore filename case

Calab wrote:
> I've got several downloads with PAR 2.0 checksum files. Unfortunately par2
> (version 0.4) detects that several of the files are missing because some
> ofthe filenames are all uppercase instead of the lowercase that the files
> originally existed as.
>
> Is there a switch I can specify to tell par2 to ignore the case of a
> filename? MAN page doesn't seem to indicate one, and I don't see one
> searching online.
>
> Is there a command line alternative to par2? Which would be recommended for
> this Debian Lenny PC?
>
> Thanks!


If par2 doesn't have an option to ignore the casing, you can convert all
of the filenames to lower case using this perl command:

perl -le 'rename $_, lc( $_ ) foreach <*>'

- Ken
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 08:43 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62