ashishb / adb-enhanced

🔪Swiss-army knife for Android testing and development 🔪 ⛺
https://ashishb.net/tech/introducing-adb-enhanced-a-swiss-army-knife-for-android-development/
Apache License 2.0
1.23k stars 80 forks source link

Default screenshot filename #217

Closed atanana closed 1 year ago

atanana commented 1 year ago

It seems that it would be convenient to use e.g. timestamp as a filename if no filename is given

ashishb commented 1 year ago

Why not use?

$ adbe screenshot screenshot-`date +"%Y-%m-%dT%H:%M:%S%z"`.png
atanana commented 1 year ago

yes, of course I can use something like that. But I thought that the main goal of your tool is to make things more simple :) I think it's a quite common use case when you need to take few screenshots, and it's easier to run the same simple command multiple times than type unique screenshot name or google how to use date command

ashishb commented 1 year ago

Thanks, @atanana for the feedback. I will consider adding it in the future release.