more fairphone migration notes
This commit is contained in:
@@ -53,8 +53,6 @@ Since we don't have the play store we'll need to download from the website.
|
|||||||
1. `Significant motion mode: off`. This seems to break phonetrack.
|
1. `Significant motion mode: off`. This seems to break phonetrack.
|
||||||
2. `Minimum distance: 0`. This ensures a location update is sent every time regardless of distance moved.
|
2. `Minimum distance: 0`. This ensures a location update is sent every time regardless of distance moved.
|
||||||
3. `Minimum time: 60`. Send a location update every minute.
|
3. `Minimum time: 60`. Send a location update every minute.
|
||||||
4. `Minimum accuracy: 100`. Don't worry about being super accurate, just get a location out.
|
4. `Minimum accuracy: 50`. Don't worry about being super accurate, just get a location out.
|
||||||
5. `Keep GPS on between fixes: off`. This drains battery but does make location updates super accurate.
|
5. `Keep GPS on between fixes: off`. This drains battery but does make location updates super accurate.
|
||||||
6. `Location timeout: 30`. Wait 30 seconds for GPS fix before using less accurate location.
|
6. `Location timeout: 30`. Wait 30 seconds for GPS fix before using less accurate location.
|
||||||
|
|
||||||

|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 213 KiB |
@@ -1,5 +1,58 @@
|
|||||||
# iOS
|
# iOS
|
||||||
|
|
||||||
|
## iPhoto Export
|
||||||
|
|
||||||
|
1. Download all your photos in batches of 1000
|
||||||
|
2. Extract all zip files
|
||||||
|
3. Use `find` to copy all files to photo-archive
|
||||||
|
|
||||||
|
find ./icloud -type f -not -name '*.zip' -print0 | xargs -0 -I % /bin/bash -c 'cp -v --backup=numbered "%" photo-archive/'
|
||||||
|
|
||||||
|
4. Verify all photos were copied successfully
|
||||||
|
|
||||||
|
find ./icloud -type f -not -name '*.zip' | wc -l
|
||||||
|
find ./photo-archive -type f | wc -l
|
||||||
|
|
||||||
|
5. Rename duplicates so they have the correct extension
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# Collect duplicates
|
||||||
|
find photo-archive -name '*.~*' > duplicates.txt
|
||||||
|
cat duplicates.txt | wc -l
|
||||||
|
|
||||||
|
# dry run convert duplicates named *.~n~ to something else
|
||||||
|
for item in $(cat duplicates.txt); do echo mv $item photo-archive/$(python -c "from pathlib import Path; number=Path(\"$item\").suffix ;name = Path(Path(\"$item\").stem); print(name.stem + '_' + number.replace('~','').replace('.','') + name.suffix)"); done
|
||||||
|
# actual rename
|
||||||
|
for item in $(cat duplicates.txt); do mv $item photo-archive/$(python -c "from pathlib import Path; number=Path(\"$item\").suffix ;name = Path(Path(\"$item\").stem); print(name.stem + '_' + number.replace('~','').replace('.','') + name.suffix)"); done
|
||||||
|
|
||||||
|
# verify
|
||||||
|
find photo-archive -name '*.~*'
|
||||||
|
find ./photo-archive -type f | wc -l
|
||||||
|
```
|
||||||
|
|
||||||
|
6. Remove live photos
|
||||||
|
|
||||||
|
Live photos show up as a .MOV files. They should be the only .MOV files in the folder. Remove
|
||||||
|
them with:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
find photo-archive -name '*.MOV' -delete
|
||||||
|
|
||||||
|
# verify
|
||||||
|
find ./photo-archive -type f | wc -l
|
||||||
|
```
|
||||||
|
|
||||||
|
7. Organize by year
|
||||||
|
|
||||||
|
To keep your photos folder from getting too bloated you should organize your photos into
|
||||||
|
subfolders by (at least) year.
|
||||||
|
|
||||||
|
[Phockup](https://github.com/ivandokov/phockup) seems to be able to do this:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
podman run -v ~/Pictures:/mnt ivandokov/phockup:latest /mnt/iphone /mnt/iOS -d YYYY
|
||||||
|
```
|
||||||
|
|
||||||
## Photos Export
|
## Photos Export
|
||||||
|
|
||||||
<https://github.com/icloud-photos-downloader/icloud_photos_downloader>
|
<https://github.com/icloud-photos-downloader/icloud_photos_downloader>
|
||||||
|
|||||||
Reference in New Issue
Block a user