Skip to content

Commit

Permalink
Add .photostructure/ folder from the banned file list (#577)
Browse files Browse the repository at this point in the history
Fixes #568
  • Loading branch information
simulot authored Dec 24, 2024
1 parent ec26613 commit 1190f5e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions adapters/folder/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
1 change: 1 addition & 0 deletions adapters/googlePhotos/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
1 change: 1 addition & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -522,6 +522,7 @@ The following files are excluded automatically:
- `thumbnails/`
- `.DS_Store/`
- `._*.*`
- `.photostructure/`

## Date range

Expand Down

0 comments on commit 1190f5e

Please sign in to comment.