Activity for android-timestamp-keeper

  • android-timestamp-keeper android-timestamp-keeper released /android-timestamp-keeper.sh

  • android-timestamp-keeper android-timestamp-keeper released /android-timestamp-keeper-v3.1.sh

  • Giangi Giangi posted a comment on discussion General Discussion

    Tested v3.1 and run fine on my Moto G2! Grazie and Ciao!!!

  • dragomerlin dragomerlin posted a comment on discussion General Discussion

    Thanks I had a LG G2, which experienced the same issues you had with the Moto G2. Busybox for android is less powerful than for the desktop so some routines are not available. Also, a newer version stamps-v3.1.sh is available, wich greatly reduces the write operations to timestamps.txt.

  • Android Timestamp Keeper Android Timestamp Keeper released /stamps-v3.1.sh

  • Giangi Giangi posted a comment on discussion General Discussion

    It worked without errors in both read and write! The timestamps.txt didn't had any separators and the file I have modified has been restored! :-) ./Notifications/hangouts_message.ogg 1495719463 201705251337.43 ./Ringtones/hangouts_incoming_call.ogg 1495719463 201705251337.43 I run the test directly from sdcard but with SU's privilege, I guess it's not necessary to do the same directly from the real path storage/emulated/0/ Great!!!! PS: in case you need more testing I probably will not be able to...

  • Android Timestamp Keeper Android Timestamp Keeper released /stamps-v2.9.sh

  • Android Timestamp Keeper Android Timestamp Keeper released /stamps-v3.0.sh

  • dragomerlin dragomerlin posted a comment on discussion General Discussion

    Ok, try inside /storage/emulated/0/ as root or under /sdcard/ as normal user. The script stamps-v3.0.sh. To read you can be normal user, but to write you must be root. You can copy the script to the sdcard or use adb: adb push stamps-v3.0.sh /sdcard/ adb shell Then sh stamps-v3.0.sh read . Make some modifications su sh stamps-v3.0.sh write .

  • Giangi Giangi posted a comment on discussion General Discussion

    Here you are the first... root@titan_umtsds:/ # echo -e "house\nhouse\nhouse\nhouse" house house house house ...the second (BTW, inside the "adb shell" launched from Win10 command I cannot type the tilde ~! I had to launch adb shell from Cygwin but I do not like it because I cannot have the same cursor's movements and copy&paste as from the Win10 command...) gives a sed's error... root@titan_umtsds:/ # echo -e "house\nhouse\nhouse\nhouse" | sed '3~3 s/house/cat/g' echo -e "house\nhouse\nhouse\nhouse"...

  • dragomerlin dragomerlin modified a comment on discussion General Discussion

    Try these commands and see if work: echo -e "house\nhouse\nhouse\nhouse" Must display: house house house house Another: echo -e "house\nhouse\nhouse\nhouse" | sed '3~3 s/house/cat/g' Must display: house house cat house This the same result as before: echo -e "house\nhouse\nhouse\nhouse" | busybox sed '3~3 s/house/cat/g'

  • dragomerlin dragomerlin posted a comment on discussion General Discussion

    Try these commands and see if work: echo -e "house\nhouse\nhouse\nhouse" Must display: house house house house Another: echo -e "house\nhouse\nhouse\nhouse" | sed '3~3 s/house/cat/g' Must display: house house cat house This the same result as before: echo -e "house\nhouse\nhouse\nhouse" | busybox sed '3~3 s/house/cat/g'

  • Giangi Giangi posted a comment on discussion General Discussion

    I have modified timestamps.txt removing the separators and now the v2.7 "write" has restored the date I have changed! :-) ./backup_12_lug_2017_16-17-25.seb 1499869046 201707121417.26

  • Giangi Giangi modified a comment on discussion General Discussion

    Here you are the system's touch help usage: touch [-amch] [-d DATE] [-t TIME] [-r FILE] FILE... Update the access and modification times of each FILE to the current time. -a change access time -m change modification time -c don't create file -h change symlink -d set time to DATE (in YYYY-MM-DDThh:mm:SS[.frac][tz] format) -t set time to TIME (in [[CC]YY]MMDDhhmm[.ss][frac] format) -r set time same as reference FILE ...and this the busybox's one BusyBox v1.26.2-Stericson (2017-01-14 16:15:58 PST) multi-call...

  • Giangi Giangi posted a comment on discussion General Discussion

    Here you are the system's touch help usage: touch [-amch] [-d DATE] [-t TIME] [-r FILE] FILE... Update the access and modification times of each FILE to the current time. -a change access time -m change modification time -c don't create file -h change symlink -d set time to DATE (in YYYY-MM-DDThh:mm:SS[.frac][tz] format) -t set time to TIME (in [[CC]YY]MMDDhhmm[.ss][frac] format) -r set time same as reference FILE ...and this the busybox's one BusyBox v1.26.2-Stericson (2017-01-14 16:15:58 PST) multi-call...

  • Giangi Giangi modified a comment on discussion General Discussion

    The write operation has failed with v2.7 :( root@titan_umtsds:/sdcard # sh stamps.sh write backups/ Working on dir: backups// touch: invalid date '2017-07-12 14:17:26.000000000' root@titan_umtsds:/sdcard # Same error with v2.4

  • Giangi Giangi posted a comment on discussion General Discussion

    The write operation has failed with v2.7 :( root@titan_umtsds:/sdcard # sh stamps.sh write backups/ Working on dir: backups// touch: invalid date '2017-07-12 14:17:26.000000000' root@titan_umtsds:/sdcard #

  • Giangi Giangi posted a comment on discussion General Discussion

    The read has worked but I got this error at the end shell@titan_umtsds:/ $ su root@titan_umtsds:/ # cd sdcard/ root@titan_umtsds:/sdcard # sh st stamps.sh stamps.txt root@titan_umtsds:/sdcard # sh stamps.sh read . Working on dir: ./ sed: bad pattern '3~3 s/-//g'@3 (3) sed: bad pattern '3~3 s/://g'@3 (3) sed: bad pattern '3~3 s/ //g'@3 (3) sed: bad pattern '3~3 s/\..*//'@3 (3) sed: bad pattern '3~3 s/./.&/13'@3 (3) root@titan_umtsds:/sdcard # Now I will try the write. BTW, I have compared v2.4 with...

  • dragomerlin dragomerlin posted a comment on discussion General Discussion

    Ok try stamps-v2.7.sh should work to read and write. To check a single file just edit timestamps.txt and leave the 3 lines for a file you want to test with, for example put a file in sdcard.

  • Android Timestamp Keeper Android Timestamp Keeper released /stamps-v2.7.sh

  • Giangi Giangi posted a comment on discussion General Discussion

    oh YES! It worked! :-) Here you are the first lines... ./Android/media/com.google.android.talk/Notifications/hangouts_message.ogg 1495719463 2017-05-25 13:37:43.000000000 ./Android/media/com.google.android.talk/Ringtones/hangouts_incoming_call.ogg 1495719463 2017-05-25 13:37:43.000000000 ./Android/data/.nomedia 1452108959 2016-01-06 19:35:59.000000000 ./Android/data/com.google.android.apps.maps/testdata/voice/it_IT.c279fc03/voice_instructions.zip 1480987019 2016-12-06 01:16:59.000000000 ./Android/data/com.google.android.apps.maps/cache/cache_r.0...

  • Android Timestamp Keeper Android Timestamp Keeper released /stamps-test-1.sh

  • dragomerlin dragomerlin posted a comment on discussion General Discussion

    Ok try only read with the script "stamps-test-1.sh". Don't use write is not compatible.

  • Giangi Giangi posted a comment on discussion General Discussion

    ...with v26... + >/dev/null + 2>&1 + command -v find + >/dev/null + 2>&1 + command -v sed + >/dev/null + 2>&1 + command -v ps + cname=0 + cdate=0 + '[' read '!=' read ']' + sed -e 's,/\+$,,' + echo . + WDIR=./ + echo 'Working on dir: ./' Working on dir: ./ + '[' read '=' read ']' + rm timestamps.txt + >>timestamps.txt + cd ./ + busybox find . -type f -exec sh -c 'busybox stat -c %n "{}" ' ';' -exec busybox stat -c %Y {} ';' -exec sh -c 'busybox stat -c %y "{}" | sed -e s/-//g | sed -e s/://g | sed...

  • Giangi Giangi posted a comment on discussion General Discussion

    ...with v25... + >/dev/null + 2>&1 + command -v find + >/dev/null + 2>&1 + command -v sed + >/dev/null + 2>&1 + command -v ps + cname=0 + cdate=0 + '[' read '!=' read ']' + sed -e 's,/\+$,,' + echo . + WDIR=./ + echo 'Working on dir: ./' Working on dir: ./ + '[' read '=' read ']' + rm timestamps.txt + >>timestamps.txt + cd ./ + find . -type f -exec sh -c 'busybox stat -c %n "{}" ' ';' -exec busybox stat -c %Y {} ';' -exec sh -c 'busybox stat -c %y "{}" | sed -e s/-//g | sed -e s/://g | sed -e "s/...

  • Giangi Giangi posted a comment on discussion General Discussion

    Hi hope you can understand the following... I have added a "set -x" and this is the output, but only for the first iteration... probably I should put another "set -x" inside the last (very complex) statement! with v24 script root@titan_umtsds:/sdcard # sh stamps-v24.sh read . + >/dev/null + 2>&1 + command -v find + >/dev/null + 2>&1 + command -v sed + >/dev/null + 2>&1 + command -v ps + cname=0 + cdate=0 + '[' read '!=' read ']' + sed -e 's,/\+$,,' + echo . + WDIR=./ + echo 'Working on dir: ./' Working...

  • Giangi Giangi posted a comment on discussion General Discussion

    As I wrote, v26 it works, but only for the first file and then it hung. The generated file, after about 10 minutes, contains only one entry... ./Android/media/com.google.android.talk/Notifications/hangouts_message.ogg 1495719463

  • dragomerlin dragomerlin posted a comment on discussion General Discussion

    This is what I get with Cygwin: $ find .profile -type f -exec sh -c 'stat -c %n "{}" ' \; -exec stat -c %Y "{}" \; -exec sh -c 'stat -c %y "{}" | sed -e 's/-//g' | sed -e 's/://g' | sed -e "s/ //g" | cut -d '.' -f1 | sed "s/./.&/13" ' \; .profile 1500983971 201707251359.31 Looks like your commands are working with and without busybox. Use the code icon to post better. What is the problem now, does not work?

  • Giangi Giangi modified a comment on discussion General Discussion

    BTW, v2.6 has worked but only for the first file in "read" mode!! :-) I had to ctrl+c to stop and the file had only one file inside...

  • Giangi Giangi posted a comment on discussion General Discussion

    BTW, v2.6 has worked but only for the first file in "read" mode!! :-) I had to ctrl+c to stop and the files had only one file...

  • Giangi Giangi posted a comment on discussion General Discussion

    ok, here you are the first three stat... 130|root@titan_umtsds:/sdcard # stat -c %y "Android/media/com.google.android.talk/Notifications/hangouts_message.ogg" 2017-05-25 15:37:43.000000000 root@titan_umtsds:/sdcard # stat -c %n "Android/media/com.google.android.talk/Notifications/hangouts_message.ogg" Android/media/com.google.android.talk/Notifications/hangouts_message.ogg root@titan_umtsds:/sdcard # stat -c %Y "Android/media/com.google.android.talk/Notifications/hangouts_message.ogg" 1495719463...

  • dragomerlin dragomerlin posted a comment on discussion General Discussion

    cd /sdcard/ stat -c %y "Android/media/com.google.android.talk/Notifications/hangouts_message.ogg" stat -c %n "Android/media/com.google.android.talk/Notifications/hangouts_message.ogg" stat -c %Y "Android/media/com.google.android.talk/Notifications/hangouts_message.ogg" busybox stat -c %y "Android/media/com.google.android.talk/Notifications/hangouts_message.ogg" busybox stat -c %n "Android/media/com.google.android.talk/Notifications/hangouts_message.ogg" busybox stat -c %Y "Android/media/com.google.android.talk/Notifications/hangouts_message.ogg"...

  • Giangi Giangi posted a comment on discussion General Discussion

    Yes, it finds something... shell@titan_umtsds:/ $ su root@titan_umtsds:/ # cd /sdcard/ root@titan_umtsds:/sdcard # find . . ./Android ./Android/media ./Android/media/com.android.providers.media ./Android/media/com.google.android.talk ./Android/media/com.google.android.talk/Notifications ./Android/media/com.google.android.talk/Notifications/hangouts_message.ogg here you are the system's find help... 1|root@titan_umtsds:/sdcard # find --help usage: find [-HL] [DIR...] [<options>] Search directories...

  • dragomerlin dragomerlin modified a comment on discussion General Discussion

    Try the newer version which uses busybox find instead of the find included in the smartphone. https://sourceforge.net/projects/androidtimestampkeeper/files/stamps-v2.6-busybox_stat_find.sh/download Try going to the sdcard and do find: cd /sdcard/ find . And look if it lists all the contents of the sdcard. What my script does it uses find to list all the files (excluded folders) and on each result of find executes the command stat to get the attributes and then uses sed to sort them and puts everything...

  • Android Timestamp Keeper Android Timestamp Keeper released /stamps-v2.6-busybox_stat_find.sh

  • dragomerlin dragomerlin posted a comment on discussion General Discussion

    Try the newer version which uses busybox find instead of the find included in the smartphone. Try going to the sdcard and do find: cd /sdcard/ find . And look if it lists all the contents of the sdcard. What my script does it uses find to list all the files (excluded folders) and on each result of find executes the command stat to get the attributes and then uses sed to sort them and puts everything inside a text file. Try: cd /sdcard/ find . > mylist.txt And see if the txt file contains stuff. Also...

  • Giangi Giangi posted a comment on discussion General Discussion

    BTW, this is the new stat currently installed help root@titan_umtsds:/sdcard # busybox stat BusyBox v1.26.2-Stericson (2017-01-14 16:15:58 PST) multi-call binary. Usage: stat [OPTIONS] FILE... Display file (default) or filesystem status -c FMT Use the specified format -f Display filesystem status -L Follow links -t Terse display FMT sequences for files: %a Access rights in octal %A Access rights in human readable form %b Number of blocks allocated (see %B) %B Size in bytes of each block reported...

  • Giangi Giangi posted a comment on discussion General Discussion

    Hi, nothing changed... :-( I have used this https://play.google.com/store/apps/details?id=stericson.busybox Could you change the script so it will "echo" the cmd being executed? It could help understanding what is wrong... I know how to do using the MS commands but I do known nothing abouth bash... :-(

  • Android Timestamp Keeper Android Timestamp Keeper released /stamps-v2.5-busybox_stat.sh

  • dragomerlin dragomerlin posted a comment on discussion General Discussion

    The double dash does not affect. The script adds a dash always in case you put only the name so it always has a dash at least at the end. Try the newer version stamps-v2.5-busybox_stat.sh wich uses the stat from busybox instead of the default from android.

  • Giangi Giangi posted a comment on discussion General Discussion

    Sorry for the late reply... SF didn't notify me... Nothing changed: adb shell shell@titan_umtsds:/ $ su root@titan_umtsds:/ # cd sdcard root@titan_umtsds:/sdcard # sh stamps.sh read /sdcard/ Working on dir: /sdcard// stat: '{}': No such file or directory Isn't strange that the "working on" reports the path with a double slash? Without the trailing slash I got this error root@titan_umtsds:/sdcard # sh stamps.sh read /sdcard Missing directory: /sdcard same error without the starting slash 1|root@titan_umtsds:/sdcard...

  • dragomerlin dragomerlin posted a comment on discussion General Discussion

    What happens if you do sh stamps.sh read /sdcard/

  • Giangi Giangi posted a comment on discussion General Discussion

    I know that this project has been silent since long ago, but this script is still the only option to keep timestamps!!! So far I managed to run it on the pc (using cygwin) because it's not running on my Moto G2 for reading timestams. Today I decided it was time to try opening a discussion! :) So, right now the MotoG2 is rooted with Magisk v12, without external busybox but enabled the (basic) internal one. In the past I MAY (I actually do not remember) have tried using SuperSU and BusyBox from Stericson....

  • dragomerlin dragomerlin modified a comment on discussion General Discussion

    On windows use Cygwin, since windows doesn't have bash. It has Windows Powershell...

  • Android Timestamp Keeper Android Timestamp Keeper released /stamps-v2.4.sh

  • dragomerlin dragomerlin posted a comment on discussion General Discussion

    On windows use Cygwin, since windows doesn't have bash. It has Windows Powershell...

  • David Simpson David Simpson posted a comment on discussion General Discussion

    Could you tell me how to generate a list for this program on a Windows PC? My files...

  • Android Timestamp Keeper Android Timestamp Keeper released /stamps-v2.3.sh

  • Android Timestamp Keeper Android Timestamp Keeper released /stamps.sh

  • Android Timestamp Keeper Android Timestamp Keeper released /stamps.sh

  • Android Timestamp Keeper Android Timestamp Keeper released /stamps.sh

  • Android Timestamp Keeper Android Timestamp Keeper released /stamps.sh

  • Android Timestamp Keeper Android Timestamp Keeper released /stamps.sh

  • androidtimestampkeeper androidtimestampkeeper released /stamps.sh

  • androidtimestampkeeper androidtimestampkeeper released /stamps.sh

1
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.