Hi, please ignore the previous reply without the mailing list in the To:.
I figured it out.
~/Mail/[email protected]/INBOX/cur/1750696320.159179_1.shuttle-fedora,U=1:2,S
should become
~/Mail/[email protected]/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 <[email protected]>
writes:
> On Mon, Jun 30, 2025 at 09:58:01PM +0200, [email protected] wrote:
>>For example, it should move like this.
>>
>>~/Mail/[email protected]/INBOX/cur/1750696320.159179_1.shuttle-fedora,U=1:2,S
>>~/Mail/[email protected]/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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/isync-devel
_______________________________________________
isync-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/isync-devel