diff --git a/adapters/folder/options.go b/adapters/folder/options.go index bb4b5a3..f8a9b63 100644 --- a/adapters/folder/options.go +++ b/adapters/folder/options.go @@ -95,6 +95,7 @@ func (o *ImportFolderOptions) AddFromFolderFlags(cmd *cobra.Command, parent *cob `thumbnails/`, // Android photo `.DS_Store/`, // Mac OS custom attributes `._*.*`, // MacOS resource files + `.photostructure/`, // PhotoStructure ) cmd.Flags().StringVar(&o.ImportIntoAlbum, "into-album", "", "Specify an album to import all files into") cmd.Flags().Var(&o.UsePathAsAlbumName, "folder-as-album", "Import all files in albums defined by the folder structure. Can be set to 'FOLDER' to use the folder name as the album name, or 'PATH' to use the full path as the album name") diff --git a/adapters/googlePhotos/options.go b/adapters/googlePhotos/options.go index 16ebaa8..e63f9ed 100644 --- a/adapters/googlePhotos/options.go +++ b/adapters/googlePhotos/options.go @@ -90,6 +90,7 @@ func (o *ImportFlags) AddFromGooglePhotosFlags(cmd *cobra.Command, parent *cobra `thumbnails/`, // Android photo `.DS_Store/`, // Mac OS custom attributes `._*.*`, // MacOS resource files + `.photostructure/`, // PhotoStructure ) cmd.Flags().BoolVar(&o.CreateAlbums, "sync-albums", true, "Automatically create albums in Immich that match the albums in your Google Photos takeout") cmd.Flags().StringVar(&o.ImportFromAlbum, "from-album-name", "", "Only import photos from the specified Google Photos album") diff --git a/readme.md b/readme.md index 6f1237e..d072fdc 100644 --- a/readme.md +++ b/readme.md @@ -522,6 +522,7 @@ The following files are excluded automatically: - `thumbnails/` - `.DS_Store/` - `._*.*` +- `.photostructure/` ## Date range