nlfiedler / timedog

Displays set of files that were saved in Time Machine backups
GNU General Public License v2.0
220 stars 12 forks source link

timecopy.py: unexpected files in Backups.backupdb directory #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
From michaschnecke:

While I am not an expert in Python, I have following directory message,
which confuses me:

whitebook:Desktop micha$ sudo ./timecopy.py /Volumes/hfs /Volumes/whitebook
Traceback (most recent call last):
  File "./timecopy.py", line 499, in <module>
    main()
  File "./timecopy.py", line 493, in main
    copybackupdb(src, dst, verbose, dryrun, extattr)
  File "./timecopy.py", line 326, in copybackupdb
    entries = os.listdir(src)
OSError: [Errno 20] Not a directory:
'/Volumes/hfs/Backups.backupdb/.com.apple.timemachine.supported'

Original issue reported on code.google.com by nathanfi...@gmail.com on 19 Apr 2009 at 1:36

GoogleCodeExporter commented 9 years ago
Should change timecopy.py to be smarter about what to look for in that backupdb
directory. Namely, only consider directories and only those whose names do not 
start
with a dot (i.e. ignore hidden files).

Original comment by nathanfi...@gmail.com on 19 Apr 2009 at 1:37

GoogleCodeExporter commented 9 years ago
Fixed in Subversion revision 26.

Original comment by nathanfi...@gmail.com on 5 May 2009 at 12:02