From: Joan P. <joa...@gm...> - 2015-06-25 10:08:16
|
Hi, I know that the traditional recipe is to generate the script-file at the same time as the archive file with a write specifier like: "ark,scp:my.ark,my.scp" I was wondering if there is any tool to generate the my.scp file a posteriori, something like: "generate-scp-from-ark my.ark > my.scp" My problem is: When I generate the ark file and the scp file together, the content of my.scp is something like this: key1 my.ark:pos1 key2 my.ark:pos2 ... etc ... However, if I try to process the script file from a different directory, it won't be able to find the "my.ark" file, so need to generate the ark and scp files from the same directory I will use them, or use absolute paths. I was thinking of using the generate-scp-from-ark tool to generate a location-specific scp file from the ark. How do you avoid this problem? Do you think this kind of tool would be useful? Thanks. |