T0biasCZe / AdbFileManager

Fast Android <-> Windows file manager using ADB protocol
444 stars 29 forks source link

sometimes, it does not respect the modification dates[BUG] #10

Closed soysanti closed 11 months ago

soysanti commented 11 months ago

sometimes, it does not respect the modification dates ( and write the date of the copy instead of when it was created)

image


mobile =HUAWEI P10 \WhatsApp\Media\WhatsApp Images copying 4190 elements

If I copy it from windows explorer it works fine some folders do respect dates, other folders from a date stop copying dates. Maybe some file has problems copying and stops copying dates. If you need any debug tell me what to do. Thank you

EDIT: I'm doing tests compressing photos with APP and something similar happens to me. Does the program compress anything? If so, could you create a box so that it does not compress? Thank you

nezuky commented 11 months ago

sometimes, it does not respect the modification dates

In my experience dates are only copied when transferring from Phone -> PC. You will lose your modified date when transferring from PC -> Phone

Perhaps that's the cause of your issue.

T0biasCZe commented 11 months ago

it doesnt copy PC -> Phone because ADB doesnt have flag for keeping modification dates when copying files to phobe, like with copying files to PC where you can use -a flag

T0biasCZe commented 11 months ago

Does the program compress anything?

nah

soysanti commented 11 months ago

thanks for answering. I am trying to copy from MOBILE --> PC and today's date is overwritten a few times. I can't find the reason.

soysanti commented 11 months ago

image Some conclusions that I can draw is that jpg files do not save the date and jpeg files do... I will modify the extensions to check.

EDIT: I changed the extensions and that's not what caused the original date to be lost... image

soysanti commented 11 months ago

I have no idea about ADB, but I don't know if you can put "ADB Push" https://forum.xda-developers.com/t/q-transfering-files-from-pc-how-to-keep-date-modified-stay-intact.1840238/

thanks

T0biasCZe commented 11 months ago

I tested it, it copies the date modified for me when copying phone to pc image

and PC to phone should also work in v1.3.1

soysanti commented 11 months ago

Aw....... yes it works perfectly. aaauuu

image

I did not see this box. It works perfectly and I am very happy because I had never been able to copy the dates from the DUAL section. /storage/emulated/10/

So with this program I'm finally going to be able to have dates.

Thank you very much for sharing the program with everyone.

Greetings

soysanti commented 11 months ago

image

The program works very well and I have all the features I want.

If you release a new version, look to see that there seems to be a problem with white spaces :)