Re: [Hampshire] Re: Handling Volume Labels with Spaces

Top Page

Reply to this message
Author: Stuart Sears
Date:  
To: stephen.davies, Hampshire LUG Discussion List
CC: 
Subject: Re: [Hampshire] Re: Handling Volume Labels with Spaces
Stephen Davies wrote:
[...]
> ----------------------
> My only question is why does the delimiter get swapped round eg
> /media/disk\2008-Feb-15_16_03_57


because you told it to, here:
printf " %s\%s" $output_vol2 $copy_date

try using

printf " %s/%s" $output_vol2 $copy_dat


Regards,

Stuart