aafm icon indicating copy to clipboard operation
aafm copied to clipboard

Preserve file date&time using touch once copy completes.

Open normanr opened this issue 13 years ago • 5 comments

It would be nice to set the destination file's date&time to match the source file's date&time using touch.

normanr avatar Mar 21 '12 16:03 normanr

So far I'm unable to find a touch command in adb shell. Asked in Stack Overflow, let's see if such thing exists...

sole avatar Sep 25 '12 20:09 sole

For phone to PC this shouldn't be a problem. For PC to phone maybe busybox is required then?

normanr avatar Jan 23 '14 23:01 normanr

Or just have default permissions that allow the user to read and write to those files.

Jude Pereira On 24 Jan 2014 04:45, "Norman Rasmussen" [email protected] wrote:

For phone to PC this shouldn't be a problem. For PC to phone maybe busybox is required then?

— Reply to this email directly or view it on GitHubhttps://github.com/sole/aafm/issues/31#issuecomment-33180396 .

judepereira avatar Jan 24 '14 00:01 judepereira

@judepereira I don't understand your comment, how does are file permissions and date&time related?

normanr avatar Jan 24 '14 13:01 normanr

looks like it exists to me:

$ adb shell
shell@hammerhead:/ $ touch 
touch: no file specified
1|shell@hammerhead:/ $  touch --help                                              
touch: usage: touch [-alm] [-t YYYYMMDD[.hhmmss]] <file>
1|shell@hammerhead:/ $ 

normanr avatar Jan 24 '14 13:01 normanr