first commit
This commit is contained in:
commit
101635fdbd
12
.editorconfig
Normal file
12
.editorconfig
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# EditorConfig is awesome: https://EditorConfig.org
|
||||||
|
|
||||||
|
# top-most EditorConfig file
|
||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 2
|
||||||
|
end_of_line = lf
|
||||||
|
charset = utf-8
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
insert_final_newline = true
|
5
.vscode/settings.json
vendored
Normal file
5
.vscode/settings.json
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||||
|
"editor.formatOnSave": true,
|
||||||
|
"editor.formatOnPaste": false
|
||||||
|
}
|
3
README.md
Normal file
3
README.md
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# README.md
|
||||||
|
|
||||||
|
Preperation script for gopro media files
|
20
gopro-preh.sh
Executable file
20
gopro-preh.sh
Executable file
@ -0,0 +1,20 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
mkdir -p pics
|
||||||
|
mkdir -p lrv
|
||||||
|
mkdir -p videos
|
||||||
|
|
||||||
|
rm -f ./*.THM
|
||||||
|
|
||||||
|
mv ./*.JPG pics/ 2>/dev/null
|
||||||
|
mv ./*.LRV lrv/ 2>/dev/null
|
||||||
|
mv ./*.MP4 videos/ 2>/dev/null
|
||||||
|
|
||||||
|
echo "Rename all *.LRV to *.mp4"
|
||||||
|
cd lrv/ || exit
|
||||||
|
for f in *.LRV; do
|
||||||
|
mv -- "$f" "${f%.LRV}.mp4" 2>/dev/null
|
||||||
|
done
|
||||||
|
|
||||||
|
echo ""
|
||||||
|
echo "Script done"
|
||||||
|
echo ""
|
Loading…
Reference in New Issue
Block a user