[Digikam-users] Not completely but a bit off topic question: looking for texteditor with macro capabillity

sleepless sleeplessregulus at hetnet.nl
Sun Aug 28 18:18:01 BST 2011


Thanks for the quick responses.
Unfortunately both solutions do not work.
Best,
Rinus
Op 28-08-11 17:48, Benjamin GIRAULT schreef:
> Hi Rinus,
>
> 2011/8/28 sleepless<sleeplessregulus at hetnet.nl>:
>> I have been wrestling a bit and ran quite quick in some sort of obstacle.
>>
>> this works fine
>> mv *.* ../TEMP2/
>>
>>
>> but this one
>>   for f in $(ls); do mv ${f} ../TEMP2/; done
> Try this:
>
> for f in $(ls); do mv $(echo $f | sed -e "s# #\\\\ #g") ../TEMP2/; done
>
> It replaces every space with "\ " which should do the trick
> (hopefully, I haven't tested).
>
> Best,
>




More information about the Digikam-users mailing list