Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
François Bailly
Gepetto Utils
Commits
9f369b09
Commit
9f369b09
authored
Jun 14, 2018
by
Guilhem Saurel
Browse files
axis_record: record only once
parent
c828f331
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/axis_record.sh
View file @
9f369b09
#!/bin/bash
# You Only Record Once
pgrep ffmpeg
>
/dev/null
&&
echo
"ffmpeg is already running"
&&
exit
1
# Remove mp4 files that have not been modified for one week
find
.
-name
\*
.mp4
-mtime
+7
-delete
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment