Community
    • Login

    NPP completely in the cloud - is it possible?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    8 Posts 3 Posters 463 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • oroborosO
      oroboros
      last edited by

      I work off of mainly two computers, and I was thinking if I could install NPP “portably” for example in a Dropbox folder, where all settings and opened file sessions get synced.

      I use NPP often as a little scrapbook for ideas and notes, with various files open. I got used to the fact that NPP “saves” the files (even if I haven’t saved it locally) as a bak or tmp file. I would like to be able to see these files across workstations.

      Is this possible, and what would I need to do?

      1 Reply Last reply Reply Quote 1
      • EkopalypseE
        Ekopalypse
        last edited by Ekopalypse

        @oroboros

        I don’t use this myself but there is an setting Cloud which can be used for this.
        And I assume you have to modify your backup path.

        oroborosO 1 Reply Last reply Reply Quote 0
        • oroborosO
          oroboros @Ekopalypse
          last edited by

          @Ekopalypse

          Do you know what the difference is between “session backup” and “backup on save” is? Would you suggest having a “Backup” folder within my NPP cloud folder, and point both directories to that same one (or need they be different)?

          1 Reply Last reply Reply Quote 1
          • EkopalypseE
            Ekopalypse
            last edited by Ekopalypse

            @oroboros

            If you have session snapshot and periodic backup enabled it means
            that the files, currently loaded, are saved in the configured “backup” directory.
            Those aren’t real backups. Let me try to explain with an example:

            • user opens file X and modifies it
            • npp is creating a “backup” file with the current content

            the user has now the real file on disk and an additional “backup” file
            create in a different location. But this “backup” file has a different
            content then the original file.
            User does further changes to the current loaded file
            but still does not save it then only the “backup” file does get modified.
            Once the user hits save, the real file gets updated and the “backup” file gets deleted. So the theory. But sometimes shit happens.
            The backup on save feature creates a real backup - two files with identical content.

            Does this makes sense to you?

            oroborosO 1 Reply Last reply Reply Quote 0
            • oroborosO
              oroboros @Ekopalypse
              last edited by

              @Ekopalypse

              Yes, I think it does, thanks! So it’s OK to keep the same directory for both, since one is for the backups of the opened files, and the other is for the session of the files that are open (just to confirm).

              EkopalypseE 1 Reply Last reply Reply Quote 0
              • EkopalypseE
                Ekopalypse @oroboros
                last edited by

                @oroboros
                I would say yes.

                oroborosO 1 Reply Last reply Reply Quote 0
                • oroborosO
                  oroboros @Ekopalypse
                  last edited by

                  @Ekopalypse Thanks for all your help!

                  1 Reply Last reply Reply Quote 1
                  • Alan KilbornA
                    Alan Kilborn
                    last edited by

                    So the snapshot backups are more to be thought of as “N++ buffer backups” rather than file-on-disk backups.

                    The filenames of created backups are a bit different:

                    • For the snapshot backups there’s a filename.ext@yyyy-mm-dd_hhmmss file created (not literally, of course, hopefully that is understood).

                    • For the backup-on-save you get either filename.ext.bak (for Simple backup) or filename.ext.yyyy-mm-dd_hhmmss.bak (for Verbose backup).

                    1 Reply Last reply Reply Quote 2
                    • First post
                      Last post
                    The Community of users of the Notepad++ text editor.
                    Powered by NodeBB | Contributors