i was just curious if this is a known bug or what but when i create a package file to be run by
/usr/bin/mirror
the local_dir line loses the last character and when scanning the local dir.
example (ftp.site.com is the package file)
output from /usr/bin/mirror -d /var/www/bin/ftp.site.com
Code:
No mirror.defaults found in perl library path
package=AFWA weather.noaa.gov:/data/observations/metar/cycles -> /var/www/html/incoming/obs
Scanning local directory /var/www/html/incoming/obs
compare directories (src 25, dest 50)
No files to transfer
disconnecting from weather.noaa.gov
All done, Exiting
in the package file i have to lable the destination file as
Code:
local_dir=/var/www/html/incomming/obss
for the mirror to go to the correct folder and not create a new one.
does anyone know if this is a bug and if so how do i fix it?