How to create current date folder from ffmpeg command -
i writing code ffmpeg command .but want value stored in current date folder . there way create current date folder in ffmpeg command . not in batch files .
try this
#!/bin/bash now=$(date +"%m_%d_%y") outdir=/pathtodirectory/$now if [[ ! -d "$outdir" ]]; mkdir -p "$outdir" fi ffmpeg -i input "$outdir"/output
Comments
Post a Comment