Class: NCCOPY_COMPRESS_cmd
- Inherits:
-
OutofplaceCommand
- Object
- FileCommand
- OutofplaceCommand
- NCCOPY_COMPRESS_cmd
- Includes:
- NCO_warning_filter
- Defined in:
- lib/file_command.rb
Instance Method Summary collapse
Methods included from NCO_warning_filter
Methods inherited from OutofplaceCommand
Methods inherited from FileCommand
Instance Method Details
#cmd_txt_outofplace(infiles, outfile) โ Object
[View source]
103 104 105 106 |
# File 'lib/file_command.rb', line 103 def cmd_txt_outofplace(infiles, outfile) raise "can handle only 1 file in #{self.class} but got #{infiles.size} #{infiles.inspect}" if infiles.size != 1 %Q(#{SYSTEM_COMMANDS::NCCOPY} -k enhanced-nc3 -d 1 -s #{infiles[0]} #{outfile}) end |