How do I see what files are new in a Time Machine backup?












3















As I understand it, Time Machine creates hard links for all the previous files in a backup, so each timestamped backup folder appears as a full snapshot of the files at the time of the backup. How can I find out which files are new for a given backup and which files were carried forward from the previous backup?










share|improve this question

























  • See also the notes on timedog (command line) and TimeTracker (GUI) at Verifying Time Machine backups.

    – Arjan
    Apr 30 '10 at 6:25
















3















As I understand it, Time Machine creates hard links for all the previous files in a backup, so each timestamped backup folder appears as a full snapshot of the files at the time of the backup. How can I find out which files are new for a given backup and which files were carried forward from the previous backup?










share|improve this question

























  • See also the notes on timedog (command line) and TimeTracker (GUI) at Verifying Time Machine backups.

    – Arjan
    Apr 30 '10 at 6:25














3












3








3


1






As I understand it, Time Machine creates hard links for all the previous files in a backup, so each timestamped backup folder appears as a full snapshot of the files at the time of the backup. How can I find out which files are new for a given backup and which files were carried forward from the previous backup?










share|improve this question
















As I understand it, Time Machine creates hard links for all the previous files in a backup, so each timestamped backup folder appears as a full snapshot of the files at the time of the backup. How can I find out which files are new for a given backup and which files were carried forward from the previous backup?







macos time-machine






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 28 at 23:23









fixer1234

19k144982




19k144982










asked Dec 4 '09 at 5:02









Rob KennedyRob Kennedy

160212




160212













  • See also the notes on timedog (command line) and TimeTracker (GUI) at Verifying Time Machine backups.

    – Arjan
    Apr 30 '10 at 6:25



















  • See also the notes on timedog (command line) and TimeTracker (GUI) at Verifying Time Machine backups.

    – Arjan
    Apr 30 '10 at 6:25

















See also the notes on timedog (command line) and TimeTracker (GUI) at Verifying Time Machine backups.

– Arjan
Apr 30 '10 at 6:25





See also the notes on timedog (command line) and TimeTracker (GUI) at Verifying Time Machine backups.

– Arjan
Apr 30 '10 at 6:25










3 Answers
3






active

oldest

votes


















1














BackupLoupe is $1, excellent, and does just this.



And yes, it does use hard links. This article (part of a 10.5 review on arstechnica) explains how Time Machine works and is a very interesting read.






share|improve this answer

































    1














    If Time Machine is actually using hard links, you can use 'ls -l' to display the link count for a file. In theory, new files will have a link count of 1. For example:



      $ touch foo
    $ ls -l foo
    -rw-r--r-- 1 lars staff 0 Dec 4 00:22 foo


    The second field is the link count. Let's create a link:



      $ ln foo bar
    $ ls -l foo bar
    -rw-r--r-- 2 lars staff 0 Dec 4 00:22 bar
    -rw-r--r-- 2 lars staff 0 Dec 4 00:22 foo


    Note that the link count has increased.



    You can use the 'find' command to find all files with a single link:



    $ find /path/to/backup -links 1 -print





    share|improve this answer
























    • That's what I thought, too, but it's not that easy. If a folder has been "carried forward," then there will be a hard link to just the folder. The files in the folder won't have additional links, so if a folder remains unchanged for several backups, the link counts for those files will remain at 1 even though they're actually very old.

      – Rob Kennedy
      Dec 4 '09 at 5:38



















    0














    Compare snapshots



    In Lion or greater:




    • use the compare verb of tmutil.






    share|improve this answer























      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "3"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f78655%2fhow-do-i-see-what-files-are-new-in-a-time-machine-backup%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      3 Answers
      3






      active

      oldest

      votes








      3 Answers
      3






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      1














      BackupLoupe is $1, excellent, and does just this.



      And yes, it does use hard links. This article (part of a 10.5 review on arstechnica) explains how Time Machine works and is a very interesting read.






      share|improve this answer






























        1














        BackupLoupe is $1, excellent, and does just this.



        And yes, it does use hard links. This article (part of a 10.5 review on arstechnica) explains how Time Machine works and is a very interesting read.






        share|improve this answer




























          1












          1








          1







          BackupLoupe is $1, excellent, and does just this.



          And yes, it does use hard links. This article (part of a 10.5 review on arstechnica) explains how Time Machine works and is a very interesting read.






          share|improve this answer















          BackupLoupe is $1, excellent, and does just this.



          And yes, it does use hard links. This article (part of a 10.5 review on arstechnica) explains how Time Machine works and is a very interesting read.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Dec 4 '09 at 5:48

























          answered Dec 4 '09 at 5:30









          ridogiridogi

          2,63211324




          2,63211324

























              1














              If Time Machine is actually using hard links, you can use 'ls -l' to display the link count for a file. In theory, new files will have a link count of 1. For example:



                $ touch foo
              $ ls -l foo
              -rw-r--r-- 1 lars staff 0 Dec 4 00:22 foo


              The second field is the link count. Let's create a link:



                $ ln foo bar
              $ ls -l foo bar
              -rw-r--r-- 2 lars staff 0 Dec 4 00:22 bar
              -rw-r--r-- 2 lars staff 0 Dec 4 00:22 foo


              Note that the link count has increased.



              You can use the 'find' command to find all files with a single link:



              $ find /path/to/backup -links 1 -print





              share|improve this answer
























              • That's what I thought, too, but it's not that easy. If a folder has been "carried forward," then there will be a hard link to just the folder. The files in the folder won't have additional links, so if a folder remains unchanged for several backups, the link counts for those files will remain at 1 even though they're actually very old.

                – Rob Kennedy
                Dec 4 '09 at 5:38
















              1














              If Time Machine is actually using hard links, you can use 'ls -l' to display the link count for a file. In theory, new files will have a link count of 1. For example:



                $ touch foo
              $ ls -l foo
              -rw-r--r-- 1 lars staff 0 Dec 4 00:22 foo


              The second field is the link count. Let's create a link:



                $ ln foo bar
              $ ls -l foo bar
              -rw-r--r-- 2 lars staff 0 Dec 4 00:22 bar
              -rw-r--r-- 2 lars staff 0 Dec 4 00:22 foo


              Note that the link count has increased.



              You can use the 'find' command to find all files with a single link:



              $ find /path/to/backup -links 1 -print





              share|improve this answer
























              • That's what I thought, too, but it's not that easy. If a folder has been "carried forward," then there will be a hard link to just the folder. The files in the folder won't have additional links, so if a folder remains unchanged for several backups, the link counts for those files will remain at 1 even though they're actually very old.

                – Rob Kennedy
                Dec 4 '09 at 5:38














              1












              1








              1







              If Time Machine is actually using hard links, you can use 'ls -l' to display the link count for a file. In theory, new files will have a link count of 1. For example:



                $ touch foo
              $ ls -l foo
              -rw-r--r-- 1 lars staff 0 Dec 4 00:22 foo


              The second field is the link count. Let's create a link:



                $ ln foo bar
              $ ls -l foo bar
              -rw-r--r-- 2 lars staff 0 Dec 4 00:22 bar
              -rw-r--r-- 2 lars staff 0 Dec 4 00:22 foo


              Note that the link count has increased.



              You can use the 'find' command to find all files with a single link:



              $ find /path/to/backup -links 1 -print





              share|improve this answer













              If Time Machine is actually using hard links, you can use 'ls -l' to display the link count for a file. In theory, new files will have a link count of 1. For example:



                $ touch foo
              $ ls -l foo
              -rw-r--r-- 1 lars staff 0 Dec 4 00:22 foo


              The second field is the link count. Let's create a link:



                $ ln foo bar
              $ ls -l foo bar
              -rw-r--r-- 2 lars staff 0 Dec 4 00:22 bar
              -rw-r--r-- 2 lars staff 0 Dec 4 00:22 foo


              Note that the link count has increased.



              You can use the 'find' command to find all files with a single link:



              $ find /path/to/backup -links 1 -print






              share|improve this answer












              share|improve this answer



              share|improve this answer










              answered Dec 4 '09 at 5:24









              larskslarsks

              2,8921521




              2,8921521













              • That's what I thought, too, but it's not that easy. If a folder has been "carried forward," then there will be a hard link to just the folder. The files in the folder won't have additional links, so if a folder remains unchanged for several backups, the link counts for those files will remain at 1 even though they're actually very old.

                – Rob Kennedy
                Dec 4 '09 at 5:38



















              • That's what I thought, too, but it's not that easy. If a folder has been "carried forward," then there will be a hard link to just the folder. The files in the folder won't have additional links, so if a folder remains unchanged for several backups, the link counts for those files will remain at 1 even though they're actually very old.

                – Rob Kennedy
                Dec 4 '09 at 5:38

















              That's what I thought, too, but it's not that easy. If a folder has been "carried forward," then there will be a hard link to just the folder. The files in the folder won't have additional links, so if a folder remains unchanged for several backups, the link counts for those files will remain at 1 even though they're actually very old.

              – Rob Kennedy
              Dec 4 '09 at 5:38





              That's what I thought, too, but it's not that easy. If a folder has been "carried forward," then there will be a hard link to just the folder. The files in the folder won't have additional links, so if a folder remains unchanged for several backups, the link counts for those files will remain at 1 even though they're actually very old.

              – Rob Kennedy
              Dec 4 '09 at 5:38











              0














              Compare snapshots



              In Lion or greater:




              • use the compare verb of tmutil.






              share|improve this answer




























                0














                Compare snapshots



                In Lion or greater:




                • use the compare verb of tmutil.






                share|improve this answer


























                  0












                  0








                  0







                  Compare snapshots



                  In Lion or greater:




                  • use the compare verb of tmutil.






                  share|improve this answer













                  Compare snapshots



                  In Lion or greater:




                  • use the compare verb of tmutil.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Jul 24 '12 at 8:40









                  Graham PerrinGraham Perrin

                  98051849




                  98051849






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Super User!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f78655%2fhow-do-i-see-what-files-are-new-in-a-time-machine-backup%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Plaza Victoria

                      Puebla de Zaragoza

                      Musa