Comments (6)
I have fixed it... I found an album that was under the Shared Album section.... All good now apologies for logging ticket.
from osxphotos.
-
So to confirm. You've updated the album name by removing : and / within Photos. And have relaunched osxphotos and still the folder name is wrong. Hmmm weird.
-
try simply deleting the conflicting destination folder (no need to delete anything else) and reexport to force osxphotos to go thru it again.
-
Alternatively: on the --directory option you can also convert characters with the magical template system (do read about it on the doc as it has a lot to offer!) I use it to convert / and : to . "{folder_album[/,.|:,.]}"
Hope it helps.
from osxphotos.
Your first bullet point is correct - that is what is happening.
I did try what you said - I deleted the folder, and then re-exported but it has come back. It's almost like OSXPhotos is caching it. However, your suggestion of the magical template system is a good one. Though that feels like a work-around not a solution.
Much appreciated 👍
from osxphotos.
I just tried to re-create this and could not. Here's what I did:
Create an album with a "/" in the name: "Test/Album"
Export photos
Album is created with a "/" in the name and photo exported: "Test/Album"
Deleted the folder "Test/Album" in Finder
Replaced the "/" with "-" in Photos: "Test-Photo"
Exported again with --update
Photos in the album were now exported to "Test-Album". The original album was not re-created.
It's almost like OSXPhotos is caching it.
osxphotos does not cache the album name. It does keep a record of every file exported in the export database (.osxphotos_export.db
in the export folder) but this is used to match exported photos to the correct photo in Photos. Information such as the correct folder name is created at the time of export from the data in Photos, not the export database.
Are you sure there isn't a second album with the uncorrected name in Photos?
It generates this error, note that it puts. colon (:) not the actual offending character:
Note that it's actually osxphotos not OneDrive that put a colon in instead of a slash. In the macOS filesystem "/" is used to separate folders and while it's possible to create a file with a "/" in it, this is ill-advised and will make the file very difficult to work with using normal command line tools. osxphotos instead changes all "/" in a file name to ":". The Finder will automatically display these as "/" even though on disk, they're actually stored as ":" (this is a throwback to macOS Classic which used ":" to separate folders).
from osxphotos.
Hi - thanks for update. In that case I'm not sure what to do then. I'll double check my iCloud photo albums.
from osxphotos.
If you want to exclude shared albums from the export you can use --not-shared
from osxphotos.
Related Issues (20)
- Add `--in-exportdb`, `--not-in-exportdb`, and `--missing-from-export` query options HOT 1
- Add pointer to export database in the export folder
- Add --not-uuid and --not-uuid-from-file HOT 1
- Warning when using --exiftool-merge-keywords and --download-missing
- Add `osxphotos cleanup` command
- KeyError: PLModelVersion HOT 3
- Add options for specifying unicode form
- osxphotos import does not correctly handle case of image_edited.jpeg + aae with no original.
- True sync when updating HOT 5
- exiftool perl process keeps running after a critical error in the python process (SEGFAULT or kill -9) HOT 3
- Support for screen-recording media type HOT 6
- Refactor test_cli.py
- During export, Ignore edits that are only rotations? HOT 17
- Exporting photos, errored out, entire photo library deleted... HOT 8
- Add date / time stamp to the crash log
- Usability question: how do I get all photos and iterate over them? HOT 3
- Add "similar" photos command
- Raise error if export() with missing asset HOT 6
- Comma in album name during import generates SyntaxError: None:1:15: Expected '{' or EOF HOT 3
- Better error message for template parser
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from osxphotos.