Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preserve file date&time using touch once copy completes. #31

Open
normanr opened this issue Mar 21, 2012 · 5 comments
Open

Preserve file date&time using touch once copy completes. #31

normanr opened this issue Mar 21, 2012 · 5 comments

Comments

@normanr
Copy link

normanr commented Mar 21, 2012

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

@sole
Copy link
Owner

sole commented Sep 25, 2012

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

@normanr
Copy link
Author

normanr commented Jan 23, 2014

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

@judepereira
Copy link

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//issues/31#issuecomment-33180396
.

@normanr
Copy link
Author

normanr commented Jan 24, 2014

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

@normanr
Copy link
Author

normanr commented Jan 24, 2014

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:/ $ 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants