search for: jqrg86

Displaying 1 result from an estimated 1 matches for "jqrg86".

2003 Apr 24
1
Trailing slash in destination
...TORY}/${site}/ Each site usually holds about 8 files with the prefix "access_". Some machines however only have one, and this is where my problem arises. When the script attempts to collect the logs from one of these machines, I get the following error: open /home/test/squidlogs//site1/.JQRG86 : No such file or directory The problem is caused by the way rsync ignores trailing slashes in the destination. In the above, instead of creating the site1 directory and saving the access_0.gz file in it as site1/access_0.gz, rsync tries to write (temporarily) to site1/.JQRG86. Since there is no s...