![]() |
|
|
|||
|
Linking to a Windows Directory
Well, not actually linking. I have in my Home Directory a symbolic link to
my Quicken directory under XP, which works fine. But I was thinking of including some folders from Program Files in my Linux backup using rsnapshot. Both Program Files and the directory name have spaces. Putting the full path between quotes in rsnapshot's config file isn't wor\king. Should I use DOS 8.3 filenames instead? They aren't as visible as under Win98. Using 2008.1. Doug. |
|
|||
|
Re: Linking to a Windows Directory
On Sat, 12 Jul 2008 04:06:49 -0400, Doug Laidlaw <doug@dougshost.invalid> wrote:
> backup using rsnapshot. Both Program Files and the directory name have > spaces. Putting the full path between quotes in rsnapshot's config file > isn't wor\king. Should I use DOS 8.3 filenames instead? They aren't as Don't use the quotes. Escape the spaces in the path/file names by preceding each space with a backslash like ll /var/mnt/hda13/Program\ Files/EPSON/EPSON\ CardMonitor/EPSON\ CardMonitor1.1.exe -rwxrwxrwx 2 root root 258048 2003-07-25 01:00 /var/mnt/hda13/Program Files/EPSON/EPSON CardMonitor/EPSON CardMonitor1.1.exe* Regards, Dave Hodgins -- Change nomail.afraid.org to ody.ca to reply by email. (nomail.afraid.org has been set up specifically for use in usenet. Feel free to use it yourself.) |
|
|||
|
Re: Linking to a Windows Directory
David W. Hodgins wrote:
> On Sat, 12 Jul 2008 04:06:49 -0400, Doug Laidlaw <doug@dougshost.invalid> > wrote: > >> backup using rsnapshot. Both Program Files and the directory name have >> spaces. Putting the full path between quotes in rsnapshot's config file >> isn't wor\king. Should I use DOS 8.3 filenames instead? They aren't as > > Don't use the quotes. Escape the spaces in the path/file names by > preceding each space with a backslash like > ll /var/mnt/hda13/Program\ Files/EPSON/EPSON\ CardMonitor/EPSON\ > CardMonitor1.1.exe -rwxrwxrwx 2 root root 258048 2003-07-25 01:00 > /var/mnt/hda13/Program Files/EPSON/EPSON CardMonitor/EPSON > CardMonitor1.1.exe* > > Regards, Dave Hodgins > Thanks. That is what happens on automatic completion on the command line, but I hadn't thought laterally. The one in "working" was a typo, of course. My keyboarding is getting really bad, even two-finger. Doug. |
|
|||
|
Re: Linking to a Windows Directory
On Sun, 13 Jul 2008 20:20:35 -0400, Doug Laidlaw <doug@dougshost.invalid> wrote:
> Thanks. That is what happens on automatic completion on the command line, > but I hadn't thought laterally. I haven't used rsnapshot. Does escaping the spaces with backslashes fix the problem? Regards, Dave Hodgins -- Change nomail.afraid.org to ody.ca to reply by email. (nomail.afraid.org has been set up specifically for use in usenet. Feel free to use it yourself.) |
|
|||
|
Re: Linking to a Windows Directory
David W. Hodgins wrote:
> On Sun, 13 Jul 2008 20:20:35 -0400, Doug Laidlaw <doug@dougshost.invalid> > wrote: > >> Thanks. That is what happens on automatic completion on the command >> line, but I hadn't thought laterally. > > I haven't used rsnapshot. Does escaping the spaces with backslashes fix > the problem? > > Regards, Dave Hodgins > No, it didn't. rsnapshot uses rsync + a config file, so whatever works for rsync should work. It has its own site at http://rsnapshot.org/ My particular question doesn't seem to be covered either in the HOWTO or in the FAQ. The "test" flag -t shows that the command is being sent, but the files aren't backed up. I tried creating a symlink and telling rsnapshot to follow it, but that didn't work, either. I have a separate backup under Windows Briefcase, but that is on the same partition. I could move the Briefcase to a Flash drive; that seems to be the simplest solution. Doug. |
|
|||
|
Re: Linking to a Windows Directory
On Wed, 16 Jul 2008 02:21:21 -0400, Doug Laidlaw <doug@dougshost.invalid> wrote:
> No, it didn't. rsnapshot uses rsync + a config file, so whatever works for > rsync should work. It has its own site at http://rsnapshot.org/ My > particular question doesn't seem to be covered either in the HOWTO or in > the FAQ. The "test" flag -t shows that the command is being sent, but the > files aren't backed up. I tried creating a symlink and telling rsnapshot It may work with multiple backslashes, as the regex is being expanded more than once. In http://www.cb-cda.gc.ca/help/registration-e.html under the question about excluding files/directories with spaces in their names, it suggests replacing the space with a question mark. Regards, Dave Hodgins -- Change nomail.afraid.org to ody.ca to reply by email. (nomail.afraid.org has been set up specifically for use in usenet. Feel free to use it yourself.) |
![]() |
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|