version 1.3, 2011/07/20 07:52:32 |
version 1.4, 2011/07/22 07:34:56 |
|
|
#convert samba-paths to local unix paths |
#convert samba-paths to local unix paths |
$dbpaths[$i] = substr($dbpaths[$i], 13); # remove \\fileserver\ |
$dbpaths[$i] = substr($dbpaths[$i], 13); # remove \\fileserver\ |
$dbpaths[$i] =~ tr/\\/\//; # convert each \ to / |
$dbpaths[$i] =~ tr/\\/\//; # convert each \ to / |
$dbpaths[$i] = '/mnt/rmt_maket/' . $dbpaths[$i]; |
$dbpaths[$i] = '/mnt/maket/' . $dbpaths[$i]; |
$dbpaths[$i] = substr($dbpaths[$i], 0, ( index($dbpaths[$i], ' ', 0) ) ); |
$dbpaths[$i] = substr($dbpaths[$i], 0, ( index($dbpaths[$i], ' ', 0) ) ); |
# |
# |
# We must not save non-existent local file in array! |
# We must not save non-existent local file in array! |