Go Back   { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Linux > Mandriva

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-12-2008, 08:06 AM
Doug Laidlaw
 
Posts: n/a
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.
Reply With Quote
  #2 (permalink)  
Old 07-12-2008, 06:17 PM
David W. Hodgins
 
Posts: n/a
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.)
Reply With Quote
  #3 (permalink)  
Old 07-14-2008, 12:20 AM
Doug Laidlaw
 
Posts: n/a
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.
Reply With Quote
  #4 (permalink)  
Old 07-14-2008, 05:17 AM
David W. Hodgins
 
Posts: n/a
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.)
Reply With Quote
  #5 (permalink)  
Old 07-16-2008, 06:21 AM
Doug Laidlaw
 
Posts: n/a
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.
Reply With Quote
  #6 (permalink)  
Old 07-17-2008, 04:42 PM
David W. Hodgins
 
Posts: n/a
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.)
Reply With Quote
Reply

  { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Linux > Mandriva


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 07:38 AM.


Powered by vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
© 1999-2008 mindfrost82.com v11.0


Sponsors:
MPAA | Loans | Credit Counseling | Homeowner Loans | Mmorpg



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109