From 619b08c9d4e43d94bac39cd395c1def6fa796f06 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 10 May 2015 09:06:35 +0000 Subject: splitfx: support -O/--outdir switch to control output dir It is useful to force output to a writable directory if the YAML file is on a read-only mount point or to force the output to a large tmpfs mount point to avoid SSD/HDD wear. --- bin/dtas-splitfx | 1 + 1 file changed, 1 insertion(+) (limited to 'bin') diff --git a/bin/dtas-splitfx b/bin/dtas-splitfx index be12910..b8fc6c8 100755 --- a/bin/dtas-splitfx +++ b/bin/dtas-splitfx @@ -14,6 +14,7 @@ OptionParser.new('', 24, ' ') do |op| op.on('-j', '--jobs [JOBS]', Integer) { |val| opts[:jobs] = val } op.on('-s', '--quiet', '--silent') { |val| opts[:silent] = true } op.on('-D', '--no-dither') { |val| opts[:no_dither] = true } + op.on('-O', '--outdir OUTDIR') { |val| opts[:outdir] = val } op.parse!(ARGV) end -- cgit v1.2.3-24-ge0c7