You are not logged in.

#1 2005-02-10 07:34:42

kumo
Member
From: VARESE - Italy
Registered: 2004-04-02
Posts: 49
Website

shell script and escaped spaces

Recently I decided I should do some backing up of my linux partition and the windows paritition so I decided to use dar with a little script to allow a full backup and a differential backup. The problem is that I have some directory names that have spaces in them and when the dar program is called from the script these become normal spaces and so it doesn't work.

What should I do? I would rather write the script in ruby but that seems a bit excessive so it would be better to use a shell script.

Offline

#2 2005-02-10 10:59:03

cs25x
Member
Registered: 2004-05-04
Posts: 150

Re: shell script and escaped spaces

The latest issue of linux gazette will be of immense help to you. Sorry it is late where I am & I have to get some sleep. I think it is the answer gang, at the end of their section.

linuxgazette.net

There is also freshmeat, which has the latest bash tutorial & ref released within the last couple of days. abs-guide.html.tar.gz


--(*(cs25x--));

Offline

Board footer

Powered by FluxBB