Comments (5)
is the -edited
file excatly, checksum same as original file? if not, then gpth is doing a good job π
or at least have a menu option to maintain it?
you mean you would want --skip-extras
option
to be added back? it allowed removing the -edited
stuff
tho i don't think it's that needed, since you can just ctrl+f, "-edited", select all and delete, in your file manager π
from googlephotostakeouthelper.
thanks @TheLastGimbus for the quick answer.
Yes the checksum is different and I guess the metadata are merged into the file. My need is, considering that you want to drag the output folder into Synology, then I need to avoid the original file, otherwise it will show duplicated pictures. Unfortunately, Mac Finder doesn't allow me to negate the search and easily remove all the original not -edited files.
Is it more clear?
from googlephotostakeouthelper.
Ahhh, i see your issue now
by "being checksum different", i wanted to point that those are not two same photos - one is the original and one is edited
i see why you would want to delete non-edited one... hmm...
well, i thiiiink that with current complexicity of how gpth matches/searches for stuff, it wouldn't be easy to do this safely for it too - without, you know, accidentally removing random photos (because of whole photo.jpg, photo(1).jpg, photo.jpg(1) etc
stuff google made)
i think we could write a simple python script to resolve your problem tho...
from googlephotostakeouthelper.
here you go buddy
import os
import shutil
for f in os.listdir():
if '-edited' in f:
og = f.replace('-edited', '')
print('to rm:', og)
# uncomment this to actually run
# os.remove(og)
# or, safer one - create a "to-rm" directory beforehand
# shutil.move(og, 'to-rm')
would be grateful for a small donate π
from googlephotostakeouthelper.
may re-open in future in any case people really want skipping the original non-edited photos...
from googlephotostakeouthelper.
Related Issues (20)
- date-unknown works only with divide-to-dates
- Invalid symlinks on Windows HOT 4
- Couldn't find dates for a lot of MP4 files HOT 1
- Can't output files to different drive than input HOT 6
- Need to run multiple times to move all files HOT 2
- PowerShell doesnt work :( - report that to @TheLastGimbus HOT 1
- gpth-windoza when press enter, doesn't get the open dialog box HOT 1
- The system cannot move the file to a different disk drive HOT 1
- Windows: duplicate files in separate folders HOT 6
- Google Takeout no longer exports metadata as JSON? HOT 5
- Feature Request: output folders by year (no month) HOT 2
- Interactive on windoza is confusing - need to type some char to actually respond etc HOT 3
- populating video timestamp from its thumbnail HOT 1
- Wrong dates after uploading to ICloud HOT 3
- CR2 RAW files left behind HOT 3
- I ran into an error (4924 Unhandled exception) HOT 1
- The requirement for adding people tag information from JSON files to the exif of photos HOT 2
- Handling of special characters like Γ€,ΓΆ,ΓΌ,Γ,' HOT 1
- Shortcuts created with wrong path. HOT 1
- "powershell doesn't work." HOT 2
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 googlephotostakeouthelper.