When I bought new Android device and installed WhatsApp there, it downloaded all media files from Drive backup. Now when I open Google Photos, all those 1000+ images are in same date, the date in which they were downloaded. WhatsApp images don't contain any EXIF data. But they contain date in their name itself (IMG-20210101-WA0001). Is there any way to sort them according to the date in their name?
Reorder WhatsApp images in Google Photos according to the dates in the name
715 Views Asked by Sourav Kannantha B At
1
There are 1 best solutions below
Related Questions in ANDROID
- Creating global Class holder
- Flutter + Dart: Editing name of a tab shows up a black screen
- android-pdf-viewer Received status code 401 from server: Unauthorized
- Sdk 34 WRITE_EXTERNAL_STORAGE not working
- ussd reader in Recket Native module
- Incorrect display of LinearGradientBrush in IOS
- The Binary Version Of its metadata is 1.8.0, expected Version is 1.6.0 build error
- I can't make TextInput to auto expand properly in Android
- Creating multiple instances of a class with different initializing values in Flutter
- How to create a lottie animation
- making android analyze with coverity sast tool
- Flutter plugin development android src not opening after opening example
- I initialize my ViewModel in the Activity with several fragments as tabs, but the fragments(tabs) return null for the updated livedata
- Node.js Server + Socket.IO + Android Mobile Applicatoin XHR Polling Error...?
- How I can use the shared preferences class?
Related Questions in DATETIME
- I wrote this time displaying FLUTTER app, How can I improve it?
- How to convert pandas series to integer for use in datetime.fromisocalendar
- JSON file of 7000 meetings in multiple timezones and Flatlist
- Intl.DateTimeFormat() - return weekday as number?
- I'd like to create a custom time zone converter, any pointers?
- How set weekday datetime?
- ValueError: setting an array element with a sequence. Trying to make a Skymap in Python
- Different X axes with Plotly's make_subplots
- Error when converting datetime from UTC to Brasilia datetime in Power BI
- Problem converting time series df from chr to date using as.POSIXct
- How to supress naive datetime warning in django
- How to find rows that fall within time range from a dataframe?
- Timedelta error - AttributeError: type object 'datetime.datetime' has no attribute 'timedelta'
- How to convert "Tue Feb 27 2024 16:35:30 GMT+0800" String to ZonedDateTime type
- react apex charts x axis labels and tool tip showing different times instead of actual PST time
Related Questions in WHATSAPP
- How to share metadata of an audio url file to a WhatsApp conversation with friends
- Whatsapp Manager number verification pending
- How to set up "No Input Prompts" for whatsapp bot which is developed on Google Dialogflow CX and deployed through Twilio
- Automate description in WhatsApp
- Share link preview on whatsapp contain google tag manager code
- Need WhatsApp Data Backup from Api
- Facing the "Messaging may be unavailable" error - WhatsApp Cloud API
- WhatsApp Cloud API: Message fails with "More than 24 hours passed" error despite recent customer interaction
- Send Template with media using Whatsapp Cloud API
- File not sending in WhatsApp contact form
- "Inconsistent WhatsApp Web Integration: Error with Manifest File Null Value Reading"
- Trigger open WhatsApp application on mobile browser without asking permission
- How can I deploy a node js API that uses the whatsapp-web.js package in Vercel?
- Migrating from whatsApp Template to Content Builder
- How to move a WhatsApp account from an Facebook BSP to simple Facebook app?
Related Questions in GOOGLE-PHOTOS
- Increasing Timeout when too many requests with Google Photos BaseUrl
- Google Photos API add to album
- is there a way to get the memory's that user have in his google photos from the api?
- Can't add an existing Media Item to a new Album via Google Photos API
- Change file creation date on Android for Google Images
- Is it possible to upload JPEG files with EXIF title/caption to Google Photos so that the caption works as the description of the image
- Is there a way to get all "liked" (heart) images from a shared google photos album
- G Cloud says I have thousands of pictures and data but I cannot find anything when I log into my g cloud account. No Buckets either
- How to turn a photo and a video into a live photo
- how can i configure google photos api for websites which url is of the type: http and not :https
- I have a problem with token expiration, which goes with image url
- Reorder WhatsApp images in Google Photos according to the dates in the name
- What could be causing my Google Photos API script to only retrieve metadata for some, but not all, specified albums in a Google Sheet?
- HTMLDivElement has no size and location
- Photoshop script to put an image into a local file to replace a layer image and export as a new JPEG?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I noticed that Google Files app sorts files based on their modification date. So I decided to modify mtime of all files using shell script by connecting to adb:
The above script will first loop over all files in WhatsApp folder (except WhatsApp Documents, .Links, .Statuses, .nomedia, .trashed as files there don't contain date in their names). Then get the file's mtime value, extract date from file name, replace date part in the mtime value and preserve time part. Finally using touch, it updates the mtime value of the file.
For me, it took more than half an hour to update mtime of all files once the script started executing. But apparently Google Photos doesn't use mtime to sort.
I noticed that atime was not getting updated when I access files. When I checked,
storage/emulated/0was mounted withnoatime. Somewhere I had read in those cases, atime is used to store created time of file. So I decided to again modify atime of all files in the same way:The above script works the same as previous one for the most part. Although unnecessary, I have preserved the value of old atime till nanoseconds and have just replaced the date part.
Finally photos in Google Photos are now sorted in correct order.