I have no idea whether this is a bug or me that did something wrong. Probably the latter.
In summary:
I used DupeGuru in Windows to search for similar folders and used Pivot in Excel and WinDirStat to check/confirm the the stats and contents - inserted here in table form.
So I use the following commands in three concurrent PowerShell sessions - because I'm impatient - to delete the folders marked with bold in the above table.
(removed spelling errors/typos and shortened for brevity)
Afterwards, when I access the folder or list the contents, this is what I get. As you can see, the folders 'Previews' and 'Thumbnails' are also gone and I'm unable to acces the 'Originals' folder.
So; I set out to delete duplicate folders. Found them with the help of DupeGure. Confirmed with WinDirStat and Excel. Used SSH/Powershell to delete folders.
As far as I can tell, the only thing I could have messed up is the missing "/" after 'data' in line 66 of the last PowerShell.
Seriously: I have absolutely no idea what I did wrong.
Oh. And no snapshots or extra backups because YOLO
In summary:
I used DupeGuru in Windows to search for similar folders and used Pivot in Excel and WinDirStat to check/confirm the the stats and contents - inserted here in table form.
Labes | Number of Filename | Sum of Size (KB) | Average af Match % |
Originals | 18054 | 1,58E+08 | 100 |
Masters | 18054 | 1,58E+08 | 100 |
Previews | 5711 | 9684160 | 100 |
Modified | 5711 | 9684160 | 100 |
Data.noindex | 47015 | 7501043 | 100 |
Thumbnails | 47015 | 7501043 | 100 |
Data | 47015 | 7501043 | 100 |
Database | 10 | 697824 | 100 |
So I use the following commands in three concurrent PowerShell sessions - because I'm impatient - to delete the folders marked with bold in the above table.
(removed spelling errors/typos and shortened for brevity)
Code:
299 17:45 rm -Rv /mnt/.../Masters/ 300 17:50 rm -Rv /mnt/.../Data/ 303 18:51 exit 306 18:55 cd /mnt/.../Originals 308 19:06 history root@freenas:~ # 66 17:48 rm -Rf /mnt/.../Modified/ 67 17:49 rm -Rf /mnt/.../Data.noindex/ 68 18:50 exit 69 19:05 ~/.bash_history 70 19:06 history am01@freenas:/mnt/... % 66 17:49 rm -Rf /mnt/.../Data 67 17:51 rm -Rf /mnt/.../Data.noindex/ 70 17:58 cd /mnt/.../Originals 71 17:58 ls 76 19:07 history am01@freenas:~ %
Afterwards, when I access the folder or list the contents, this is what I get. As you can see, the folders 'Previews' and 'Thumbnails' are also gone and I'm unable to acces the 'Originals' folder.
Code:
am01@freenas:/mnt/... % ls AlbumData.xml Attachments Backup Data.noindex iLifeShared iPhoto.ipspot iPhotoLock.data Library.data Library6.iPhoto Originals Projects.db Apple TV Photo Cache Auto Import Contents Database Info.plist iPhotoAux.db iPhotoMain.db Library.iPhoto Modified ProjectDBVersion.plist am01@freenas:/mnt/... %
So; I set out to delete duplicate folders. Found them with the help of DupeGure. Confirmed with WinDirStat and Excel. Used SSH/Powershell to delete folders.
As far as I can tell, the only thing I could have messed up is the missing "/" after 'data' in line 66 of the last PowerShell.
Seriously: I have absolutely no idea what I did wrong.
Oh. And no snapshots or extra backups because YOLO
Last edited: