Changeset 17663 for trunk/ippScripts/scripts
- Timestamp:
- May 13, 2008, 3:51:22 PM (18 years ago)
- Location:
- trunk/ippScripts/scripts
- Files:
-
- 1 added
- 2 edited
-
ipp_datapath.pl (modified) (1 diff)
-
ipp_filename.pl (modified) (3 diffs)
-
ipp_image_path.pl (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/ipp_datapath.pl
r13275 r17663 3 3 use warnings; 4 4 use strict; 5 use Getopt::Long qw( GetOptions :config auto_help auto_version gnu_getopt ); 5 6 6 7 use PS::IPP::Config; 7 8 my $ipprc = PS::IPP::Config->new(); 8 9 10 my $touch; 11 12 GetOptions( 13 'touch' => \$touch, 14 ); 15 9 16 die "No filename specified.\n" if scalar @ARGV != 1; 10 17 11 print $ipprc->file_resolve(shift @ARGV) . "\n"; 18 my $filename = shift @ARGV; 19 20 print $ipprc->file_resolve($filename, $touch) . "\n"; 12 21 13 22 1; -
trunk/ippScripts/scripts/ipp_filename.pl
r13280 r17663 14 14 my $ipprc = PS::IPP::Config->new(); 15 15 16 my ($filerule, $class_id, $basename, $camera );16 my ($filerule, $class_id, $basename, $camera, $touch); 17 17 18 18 GetOptions('filerule=s' => \$filerule, … … 20 20 'basename=s' => \$basename, 21 21 'camera|c=s' => \$camera, 22 'touch' => \$touch, 22 23 ) or pod2usage( 2 ); 23 24 … … 41 42 #print "$filename\n"; 42 43 43 my $realname = $ipprc->file_resolve( $filename );44 my $realname = $ipprc->file_resolve( $filename, $touch ); 44 45 print "$realname\n"; 45 46
Note:
See TracChangeset
for help on using the changeset viewer.
