in reply to Re: quoting/escaping file names
in thread quoting/escaping file names
while(<>) { my $filename = q{$_}; $filename =~ s/\$/\\\$/; my $exec = `md5sum "$filename"`; print $exec ."\n"; }
/mnt1/$Recycle.Bin/S-1-5-21-3093161954-3233498542-1968413288-3198/$I7Q +M78L.pdf<br> /mnt1/$Recycle.Bin/S-1-5-21-3093161954-3233498542-1968413288-3198/$ID8 +4PBU.pdf<br> /mnt1/$Recycle.Bin/S-1-5-21-3093161954-3233498542-1968413288-3198/$IDL +L4FU.JPG<br> /mnt1/$Recycle.Bin/S-1-5-21-3093161954-3233498542-1968413288-3198/$IE2 +ZPET.xls<br> /mnt1/$Recycle.Bin/S-1-5-21-3093161954-3233498542-1968413288-3198/$IF7 +3ZR5.jpg<br>
md5sum: $_: No such file or directory <br> md5sum: $_: No such file or directory <br> md5sum: $_: No such file or directory <br> md5sum: $_: No such file or directory <br>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: quoting/escaping file names
by AppleFritter (Vicar) on Sep 09, 2014 at 07:50 UTC | |
|
Re^3: quoting/escaping file names
by Anonymous Monk on Sep 09, 2014 at 06:20 UTC |