篇首语:本文由小常识网(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