Hi, please ignore the previous reply without the mailing list in the To:.

I figured it out.
~/Mail/x...@gmx.com/INBOX/cur/1750696320.159179_1.shuttle-fedora,U=1:2,S
should become
~/Mail/x...@gmx.com/Spam/cur/1750696320.159179_1.shuttle-fedora:2,S

The previous safeMove function should be...

function safeMove() {
    no_uid_filename=`echo $1 | awk -F/ '{split($NF, arr, ","); split(arr[2], 
arr2, ":"); printf("%s:%s,%s", arr[1], arr2[2], arr[3])}'`
    mv -f $1 $2/$no_uid_filename
}

Thanks a lot for quick responses!


Oswald Buddenhagen via isync-devel <isync-devel@lists.sourceforge.net>
writes:

> On Mon, Jun 30, 2025 at 09:58:01PM +0200, kohn...@gmx.com wrote:
>>For example, it should move like this.
>>
>>~/Mail/x...@gmx.com/INBOX/cur/1750696320.159179_1.shuttle-fedora,U=1:2,S
>>~/Mail/x...@gmx.com/Spam/cur/1750696320.159179_1.shuttle-fedora
>>
> well, and there is your problem. when you throw away the flags, that's 
> what you get.
>
>
> _______________________________________________
> isync-devel mailing list
> isync-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/isync-devel


_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to