Skip to content

Commit

Permalink
Merge pull request #3 from xeokeri/develop
Browse files Browse the repository at this point in the history
Updated version and readme.
  • Loading branch information
xeokeri authored Dec 31, 2024
2 parents 55f0a86 + 4bb02bb commit 17a8ea9
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 5 deletions.
20 changes: 17 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,43 @@ Scripts to improve data management, and backups, of Tesla DashCam footage.

# Usage

```
python3 scripts/dashcam-backup.py --destination="/Volumes/PathToDestinationBackDriveHere" --verbose
```

Example: python3 scripts/dashcam-backup.py --destination="/Volumes/TeslaDashCamBackups" --verbose
Example:

```
python3 scripts/dashcam-backup.py --destination="/Volumes/TeslaDashCamBackups" --verbose
```

# Notes

Any mounted USB devices that are prefixed with "TESLADRIVE" will all be backed up in sequence. The script should be able to find them dynamically.

Example: "/Volumes/TESLADRIVE", "/Volumes/TESLADRIVE 1", "/Volumes/TESLADRIVE 2"
Example:

```
"/Volumes/TESLADRIVE", "/Volumes/TESLADRIVE 1", "/Volumes/TESLADRIVE 2"
```

# Help

```
-d, --destination = Destination to the backup drive, where the videos from the Tesla USB drives will be stored.
-l, --list-only = List the contents that are pending to be backed up. Will no copy when this flag is added.
-v, --verbose = Verbose output turned to 11, if present. Default: off.
-h, --help = Show help message.
```

# Pending

Add more features in the near term, as needed.
* Add more features in the near term, as needed.
* Add support for displaying the status of active file transfer.
* Add support to display when the progress is complete.

# OS Support

Expand Down
4 changes: 2 additions & 2 deletions scripts/dashcam-backup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
__credits__ = ["Xeon Xai"]
__maintainer__ = "Xeon Xai"
__description__ = "Backup Tesla DashCam to a backup drive."
__date__ = "2024-01-01"
__date__ = "2024-12-31"
__license__ = "BSD 3-Clause License"
__version__ = "1.0.0"
__version__ = "1.0.2"

import os, platform, shutil
import argparse
Expand Down

0 comments on commit 17a8ea9

Please sign in to comment.