How does KDE Connect preserve timestamps when files are copied off a phone?

Sean Warner plica2006 at gmail.com
Tue Dec 28 03:18:45 GMT 2021


Hello,

I just got the KDE Connect app on my Pixel Android Phone. I set up a
few folders on my phone to share and paired the phone with the KDE
Connect app in my Manjaro OS.

Now I can view the contents of some folders in the phone in Dolphin
file explorer then drag and drop files in to my Manjaro home folder.

My question:
When I drag and drop files only the modified and accessed timestamps
are preserved. I figure there is no way to preserve the created
timestamp because on the target file system a new file is created when
I copy one over from the phone... yes?
But here is where I'm confused. 

If I just connect the phone to the computer running Manjaro I enable
File Transfers in the phone USB Preferences I can also drag files off
the phone to the Manjaro home folder... however, in this case only the
modified timestamps are preserved.

I also tested by installing SimpleSSHD on the phone and using rsync and
scp to copy files off... in the case of rsync only the modified
timestamp is preserved. In the case of SCP, the modified TS is
preserved and confusingly the accessed timestamp that is copied over is
not the same as what I see in the File Properties of the file ON the
phone but I have a feeling that the accessed TS that is "copied" over
is the datetime the file was copied over from my old HTC phone to the
new Pixel that I only started using a few weeks ago.

KDE Connect preserves the modified and accessed timestamps but the
later is the "original" accessed timestamp that I see in the file
properties of the file ON the Pixel. Can someone explain why/how KDE
Connect preserves timestamps.. in particular the accessed TS but also..
why does it not preserve the created TS?

Thank you,

Sean
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdeconnect/attachments/20211228/f3eb64db/attachment.htm>


More information about the KDEConnect mailing list