Skip to content

Commit

Permalink
Update linux-tips.zh-cn.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Itsusinn committed Feb 22, 2024
1 parent caa741c commit b8de44c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions content/post/linux-tips.zh-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,11 @@ $ sudo mount -a
ufw route allow proto tcp from any to any port 80

这个命令会允许外部网络访问所有用 Docker 发布出来的并且内部服务端口为 80 的所有服务。

### FFMPEG 将所有wmv转为MP4
```bash
for files in $(ls *.wmv)
do
ffmpeg -i $files -c:v libx264 -crf 23 -c:a aac -q:a 100 ${files%%.*}.mp4
done
```

0 comments on commit b8de44c

Please sign in to comment.