A program on androids to keep pictures in a specific format?



  • Good afternoon, I'm taking a lot of pictures on the phone, then I have a bunch of files with "cyphers." Is there's a photo program that you could ask her-- keep all the photos in a format like that, for example?
    Anatomy_No1_07.12.2015
    Wherever I'd enter Theme first, which includes the photo, then, for example, the auto-increment number and date.

    Sounds like a good idea, but the google didn't. Maybe you used these programs. Thank you.



  • I can offer you the next program. Works in Linux, OS X, Windows, maybe on Android Telephone, if you have root access.

    photo() {
        date=$(date +%Y-%m-%d) # сегодняшняя дата
        prefix="_№"
        n=0;
        for file in *.jpg ; do mv  "${file}" $1$prefix"${n}"$date.jpg; ((n++));  done
    }
    

    использование:

    cd path/to/photos # переходим в папку с фото
    photo "Анатомия"

    I wrote the phone, the code didn't settle, but the whole idea should be understood. Part of the code is taken from here: https://stackoverflow.com/q/19468016

    By the way, there's another one:

    • https://ru.stackoverflow.com/q/194767/181472
    • https://ru.stackoverflow.com/q/472880/181472




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2