Move command very slow

Post your questions and help other users.

Moderator: Martin

Post Reply
ziotempa
Posts: 55
Joined: 30 Nov 2018 08:54

Move command very slow

Post by ziotempa » 04 Aug 2019 21:27

Hi guys
I have a loop in my flow that I use to massively rename files. I don't have root so I use the Move action to rename files which are in my SD, to be more precise I'm looping through the Camera folder to do some bulk renaming
What I see is that, to rename one single file, it takes several seconds. I don't understand all this time spent for a single rename. Do you have any idea on where it spends all that time?
Thanks
V

anuraag
Posts: 371
Joined: 24 Jan 2015 02:06

Re: Move command very slow

Post by anuraag » 04 Aug 2019 22:28

On non rooted device move files creates a copy of that file and delete source file to rename that file.
Maybe Martin could implement a real rename action.

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Move command very slow

Post by Martin » 05 Aug 2019 14:29

Hi,

The next version could improve the speed of the move operation in some cases. However it depends on device and Android version if the new method to move files on the SD card works. The official API to work with files on the SD card is fairly limited unfortunately.

Regards,
Martin

Post Reply