Joplin Terminal: 'mv' and 'cp' commands

I've noticed when I try to move note I can specify note's ID but I can't specify folder's ID and have to use folder's title instead. Well, it doesn't work for me because I have folders with the same name. Is there any fix? I've tried to update 'parent_id' in the database and sync it but it didn't work neither with terminal app nor GUI version. Ideally, 'mv' and 'cp' command could also accept folder IDs and that's it.