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