0

I'm on Android 11 and I want to backup my files to a drive but I don't want it to change the modified date for folders and files...

14
  • 1
    Best way to preserve such attributes is packing all files into a TAR archive. You can create it via adb and directly save it on the PC: adb exec-out 'cd /sdcard; tar -cf - .' > backup.tar
    – Robert
    Commented Feb 6, 2021 at 16:12
  • 1
    what if i want to save it in a different drive? sorry i dont know a lot about adb..
    – 29cengi
    Commented Feb 6, 2021 at 16:51
  • What do you mean "different drive" as USB OTG stick or a drive on your PC?
    – Robert
    Commented Feb 6, 2021 at 16:56
  • portable ext hard drive, just start the command prompt where i want to save the tar?
    – 29cengi
    Commented Feb 6, 2021 at 17:02
  • An external hdd is fine. Just place the path before the backup.tar (specify an absolute path like F:\backup.tar on Windows.
    – Robert
    Commented Feb 6, 2021 at 17:03

0

You must log in to answer this question.