jancimajek / dashcam-backup Goto Github PK
View Code? Open in Web Editor NEWScript to backup video footage and GPS logs from TrueCam A5 Dashcam
License: MIT License
Script to backup video footage and GPS logs from TrueCam A5 Dashcam
License: MIT License
*.log
for GPS logs*.mov
for videosfind
encounters file/directory it cannot read (Operation not permitted
error)-F
option with values prompt
(default), FORMAT
, dis
(dismount) or no
(any other value)
prompt
, it should prompt the user after copying the files - current behaviourFORMAT
, it should format and dismount/eject the source volume after copying the files without prompting the user (same as if the user types in FORMAT
when prompted - current behaviour).dis
, it should dismount/eject the source volume without formatting after copying the files without prompting the user (same as if the user types in dis
when prompted - current behaviour).no
), no action should be taken, and the user should not be prompted (same as if the user types in any other value when prompted - current behaviour).-d
option with values prompt
(default), yes
(dismount) or no
(any other value)
prompt
, it should prompt the user after copying the files - current behaviouryes
, it should dismount/eject the target volume (without formatting) after copying the files without prompting the user (same as if the user types in yes
when prompted - current behaviour).no
), no action should be taken, and the user should not be prompted (same as if the user types in any other value when prompted - current behaviour).Split and restructure the codebase into modules.
## Tasks
- [ ] TASK1
- [ ] TASK2
## Details
DETAILS
### Scenario
SCENARIO
### Problem
PROBLEM
### Solution
- [ ] SOLUTION
- [ ] SOLUTION
- [ ] SOLUTION
Whenever copying is interrupted (e.g. because of insufficient space on the target device), a half-copied file can remain on the target device.
ETA sometimes shows Xm60s
remaining but should only show seconds in the 0-59
range:
✅ [130/212] /Vol.../AMBA0130.MOV → /Vol.../2022-10-14-09-16-52-AMBA0130.MOV [⏳03m60s]
^^^
0-59
range0-59
rangeA declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.