Hello friends.

I'm trying to will configure a redhat server CDX according settings:

https://github.com/iipc/openwayback/wiki/How-to-configure

WARC's have my files in /opt /warc:

[root@webarchive-testing WARC]# ls -l /opt/warc/

archivo1.warc.gz 
archivo2.warc.gz 
cdx-index/
cdx.sh 
path-index.txt

copy the scripts from the installation page:

https://github.com/iipc/openwayback/wiki/How-to-configure#telling-openwayback-where-to-find-your-arc-and-warc-files

but it shows me the following error:

[root@webarchive-testing WARC]# sh -x cdx.sh
+ ARCHIVE_BASE_DIR = /opt/warc
+ TARGET_FILE = file
+ Tempfile = file.tmp
+ Unset to i
cdx.sh: line 14: syntax error near unexpected token `<'
cdx.sh: line 14: `done <<($ ARCHIVE_BASE_DIR find -type f -regex -print0" * 
\ w arc \ .gz $..? ") '

I have set the export in my /etc/profile:

[root@webarchive-testing WARC]# cat  /etc/profile | grep "LC"
export LC_ALL = C

I can target that does not work the scripts.

Greetings.

--Carlos

-- 
You received this message because you are subscribed to the Google Groups 
"openwayback-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to