Comments (10)
I set up a rule in integromat to automate this process.
It runs once a day and checks if there are any files older than 3 days in the specified pigeon folder, if so it deletes them.
You can create your own rules pretty easily, but I attached a screenshot of my setup and the blueprint.json file you can use to copy it.
integromate_dropbox_pigeon.zip
from pigeon.
Thanks for looking into this, I also found the following:
andreafabrizi/Dropbox-Uploader#186
I spent over an hour the other day trying to get it working using the above approach, however I couldn't get the grep/sed to format the output cleanly enough for dropbox_uploader.sh delete to accept.
Hopefully this can be solved by someone with a bit more experience than I :)
Erik
from pigeon.
Hi Erik,
I fixed this in the last release. It is now deleting files after saving to Dropbox automatically. Let me know if this is not working for you!
There are no parameters for deletion though, you can't leave the file there for a specific amount of time, it just removes it after the Dropbox operation.
I'm interested in implementing other storage options in the future.
Regards,
Geraldo
from pigeon.
Hey Geraldo-
Perhaps I wasnt clear enough, I meant deleting the files FROM Dropbox (not from the local storage, which yes that is working fine for me).
The problem I'm trying to avoid is running out of cloud storage (and generally there is no need to keep the video around for an extended period of time anyway).
Make sense?
Erik
from pigeon.
Ohhhh, Thanks for clarifying @erikszewczyk. I'm sorry for the misunderstanding.
I found this SO question that provides a solution to do it, using the same tool I'm using for dropbox integration (Dropbox_uploader)
https://stackoverflow.com/questions/41098278/delete-files-after-certain-date-with-dropbox-uploader-sh
I will see if it works well and if it's possible to integrate that into the current workflow.
from pigeon.
Also, sorry for the late response, I completely missed it!
from pigeon.
I will try my best, far from being experienced here =D
from pigeon.
Any update here? I would really like this option as well, or preferably, an option to just save files to a new folder every day.
from pigeon.
Thanks for sharing @renschler ! I just discovered integromat thanks to you.
from pigeon.
FileQL lets you create auto-delete rules based on any of these criteria: number of days, file type, size and name-suffix. It should work for you as well.
from pigeon.
Related Issues (16)
- drive Usage HOT 5
- Feature Request HOT 1
- Question about resolution HOT 1
- Trying to install, but Dependency is not satisfiable HOT 4
- Possible to swap dropbox for SFTP HOT 1
- With Raspbian Jessie, video only captures after upgrading Motion to 4.0.1 HOT 8
- bcm2835-v412 error on install, can't install package following it HOT 11
- pi zero slow/overheating HOT 1
- Sharing my project with Pidgeon HOT 1
- Use systemd instead of rc.local for autostarting on boot
- How to un-install/reinstall?
- Dropbox module runs first and deletes the output files, so no other modules can use them. HOT 1
- work south wales
- Will this fit with a pi zero WH
- Need -awb greyworld for NoIR PiCam...
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 pigeon.