• Login
Community
  • Login

NPP completely in the cloud - is it possible?

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
8 Posts 3 Posters 478 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.
  • O
    oroboros
    last edited by Oct 19, 2020, 1:12 PM

    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
    • E
      Ekopalypse
      last edited by Ekopalypse Oct 19, 2020, 1:20 PM Oct 19, 2020, 1:19 PM

      @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.

      O 1 Reply Last reply Oct 19, 2020, 1:35 PM Reply Quote 0
      • O
        oroboros @Ekopalypse
        last edited by Oct 19, 2020, 1:35 PM

        @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
        • E
          Ekopalypse
          last edited by Ekopalypse Oct 19, 2020, 1:52 PM Oct 19, 2020, 1:50 PM

          @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?

          O 1 Reply Last reply Oct 19, 2020, 2:24 PM Reply Quote 0
          • O
            oroboros @Ekopalypse
            last edited by Oct 19, 2020, 2:24 PM

            @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).

            E 1 Reply Last reply Oct 19, 2020, 2:37 PM Reply Quote 0
            • E
              Ekopalypse @oroboros
              last edited by Oct 19, 2020, 2:37 PM

              @oroboros
              I would say yes.

              O 1 Reply Last reply Oct 19, 2020, 2:48 PM Reply Quote 0
              • O
                oroboros @Ekopalypse
                last edited by Oct 19, 2020, 2:48 PM

                @Ekopalypse Thanks for all your help!

                1 Reply Last reply Reply Quote 1
                • A
                  Alan Kilborn
                  last edited by Oct 19, 2020, 3:33 PM

                  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
                  4 out of 8
                  • First post
                    4/8
                    Last post
                  The Community of users of the Notepad++ text editor.
                  Powered by NodeBB | Contributors