omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular
    1. Home
    2. knowsbest

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Best 0
    • Controversial 0
    • Groups 0

    knowsbest

    @knowsbest

    0
    Reputation
    403
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    knowsbest Unfollow Follow

    Latest posts made by knowsbest

    • Automatically archive files to Dropbox

      I put together a script which I think might do some good for Pythonista and Dropbox-users. The premise is this: you use 'Open In…' to transfer a file to Pythonista (from any other app), and Pythonista forwards this file to a Dropbox path which you specify.

      At the same time, however: the script prefixes the filename with a date-format suitable for all file browsers which can sort by name (who trusts 'sort by date' anyway: "YEAR.MM.DD") and asks you if you want to rename the file. If you don’t, it'll proceed with whatever name the sender (sender: which iOS app) has given it (Mail.app can for example name a file '4728477294287.pdf', which, at best, is slightly cryptic).

      The script copies the share-link to the file you just uploaded, in order to verify that things worked.

      Oh, and there's a snack in there which can help you name your files better; this by searching for the first word in the name, and replacing it with something more meaningful (to you). E.g.: filename: 'bill energy' => new filename: 'finance_invoice - energy'. You can obviously configure these to change from whatever and to whatever.

      I might also add that the script deletes the files from Pythonista afterwards, so that this archiving doesn't clutter things up too much. I added a very short explanation of how to get the Dropbox module working in the notes of the script.

      You can get the script from this link: https://gist.github.com/anonymous/8505899

      posted in Pythonista
      knowsbest
      knowsbest