jojje / par2cmdline-dir

A branch of the par2cmdline hosted at sourceforge, for the purpose of providing long overdue nested directory support.
http://parchive.sourceforge.net
GNU General Public License v2.0
1 stars 3 forks source link

Directory support #1

Open saintger opened 12 years ago

saintger commented 12 years ago

Hello,

I am interested in using your par2 with directory support. I have managed to compile it on Debian Testing (I add to change reedsolomon.cpp to add some “template “) but I haven’t managed to make it work.

It accepts files but not directories: par2 c mypar test The source file does not exist: /home/user/test

I’ve managed to make par2_tbb works and it is really an improvement in performance. Would be nice if you could integrate your patch in par2_tbb.

Thanks,

saintger commented 12 years ago

Maybe phpar2 is a better base to rebase your code: http://paulhoule.com/phpar2/index.php

saintger commented 12 years ago

Actually I take that back : I just tried to compiled phpar2 and it seems to be modified exclusively for windows...

ifsnop commented 9 years ago

This fork supports files inside directories, but you need to include them one by one.

So "par2 c mypar dir" doesn't work, you must include them:

par2 c mypar dir/file1 dir/file2

Problem is that number of files included is limited to size of command line. Maybe this can be updated to support reading files from stdin or from a file.

For a version that supports directories from command line please see PR #2.