1. 7

Does anyone know a filesystem or program to get automatic file versioning (in a folder), like on OpenVMS?

I can setup a Cron job or script, but that feels hacky for me. It’s for a user that runs Ubuntu and wants versioning for their office documents. Now she emails herself stuff or has a folder with manually named versions. Integration with the file manager would be nice but not required, I can use xdialog if needed.

  1. 6

    Have you tried NILFS? I believe it’s in the kernel.

    1. 4

      Here’s a link for anyone reluctant to search ‘nilfs’ at work.

    2. 2

      I’d very much like to see VMS-style (FILENAME;VERSION) versioning In UNIX, along with VMS-like PURGE functionality. NILFS2 continuous snapshots work quite differently.

      I wonder, could a filesystem be created using FUSE to provide VMS-like semantics, either stand-alone, or on top of a filesystem like NILFS2?

      Worth noting, NILFS2 didn’t fully support extended attributes last I looked at it, so it wasn’t appropriate for a general filesystem if you use SELinux.

      1. 2

        Subversion used to have a webdav mode that auto committed on save. There’s also this: https://stackoverflow.com/a/420172

        1. 2

          Pragmatically, doesn’t Dropbox keep old versions around for a while? A proper backup system, running hourly, would be even better.

          1. 1

            I use CrashPlan and this would do the job, but restore isn’t integrated nicely into the OS next to the files themselves like it is in Windows so it would be clunky. Office 365 users also get this for free.

            I think it’s a shame that the version control systems we use for code can’t fill this gap - or perhaps I’ve just not seen it.

          2. 1


            hook up an inotify daemon that recurses on a directory, auto-commits to git on file modify.