#!/bin/bash

# recording=`ps -ef | grep -oE "\./\w*?/" | grep -noE "\w*?"`
recording=`ps -ef | grep ffmpeg | grep -oE "/([0-9]{4})/(\w*?)" | sed 's/\/[0-9]*\/\(\w*\)/\1/g' | grep -noE "\w*?"`

echo $recording
