sh OS x命令

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sh OS x命令相关的知识,希望对你有一定的参考价值。

# Diskutil
diskutil list
diskutil mountDisk disk2
diskutil 



# Wget for Japanese Archive 
wget -O newfilename.mp4 http://h10.cs.nii.ac.jp/stream/nfc/91355_jp/mp4/out480p.mp4 threemightyfrogs.mp4

# Wget filelist
wget -i download-file-list.txt

# Download list of vimeo link:
/* make sure youtube-dl is installed. */
/* (list.txt is the link list file, bash is currently in that directory) */

while read -r line; do for file in $line; do youtube-dl "$line"; done; done < list.txt
# Wget filelist
wget -i download-file-list.txt

#for loop
for i in {01..15};
do echo http://someserver.com/somefilename$i.mp4;
done

for i in {01..15};
do wget http://someserver.com/somefilename$i.mp4;
done

#ScreenShot
while :;do screencapture ~/Desktop/TL/$(date +%y%m%d%H%M%S).png;sleep 10;done

#format exFat Manually:
 diskutil eraseDisk exFAT DiskLabelName disk4

以上是关于sh OS x命令的主要内容,如果未能解决你的问题,请参考以下文章

sh 使用sips命令行Mac OS X调整JPG图像的大小

sh 用于在OS X命令行上全局链接sublime文本的Shell脚本

sh 翻译:“OS X 10.10 Yosemite本地开发环境,Apache,PHP和MySQL与Homebrew”8。继续配置`httpd-vhosts.conf`,以为为一条终端命令,复制整个区

sh os-x-setup-commands.sh

sh os-x-setup-commands.sh

sh 禁用OS X的所有动画。