this post was submitted on 20 Nov 2023
1 points (66.7% liked)

Self-Hosted Main

515 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS
 

I've just installed Immich, so far so good, i'm impressed.

However it appears it doesn't scan folders recursively and the my photos are currently organised means some are three to folders deep.

How do i extract all the folder contents into the parent folder using command line?

The photos are all currently backed up.

you are viewing a single comment's thread
view the rest of the comments
[–] Yeliowcrocs@alien.top 1 points 11 months ago

you can use the mv command in the command line to move the contents of a folder into another folder. for example if your folder structure is like this: parentfolder/folder1/folder2/photos you can use the following command: mv parentfolder/folder1/folder2/photos/* parentfolder/. this will move all the photos from the photos folder into the parentfolder. make sure to replace parentfolder with the actual parent folder name in your case.