#查找目录下所有文件并拷贝到另一个目录 find /data/books/library_old -name *.mobi -exec cp '{}' /data/books/download/upload/ \; #mac下刻录iso光盘 diskutil eraseDisk iDisk ExFAT disk2 diskutil list diskutil unmountDisk /dev/disk2 sudo dd if=/Users/aaa/Downloads/ubuntu-18.04.1-desktop-amd64.iso of=/dev/disk2 bs=8192; sync #chrome 开启debug脚本 #!/bin/bash cd "/Applications/Google Chrome2.app/Contents/MacOS" "/Applications/Google Chrome2.app/Contents/MacOS/Google.real" --allow-file-access-from-files --disable-web-security --allow-file-access-frome-files --enable-internal-flash "$@" #mysql导入数据 LOAD DATA LOCAL INFILE '/volume1/mydoc/data/bak/178.txt' into table u178 fields terminated by '\t' lines terminated by '\n' (@aid,account,pwd); LOAD DATA LOCAL INFILE '/volume1/mydoc/data/bak/7k7k.txt' into table u7k7k fields terminated by '\t' lines terminated by '\n' (account,pwd); nohup mysql -uroot -p123456 -P3307 -h127.0.0.1 -D soyun -e"LOAD DATA LOCAL INFILE '/volume1/mydoc/data/qq/all.txt' into table qq2 character set utf8 fields terminated by '\t' lines terminated by '\n' (account,pwd,email,site,salt,other,id,text)" 2>&1 & LOAD DATA LOCAL INFILE '/volume1/mydoc/data/qq/T1_05.txt' into table qq2 fields terminated by '\t' lines terminated by '\n' ignore 1 lines (account,pwd,email,site,salt,other,id,text); nohup mysql -uroot -p123456 -P3307 -h127.0.0.1 -D akuser -e"LOAD DATA LOCAL INFILE '/volume1/mydoc/data/163/all.txt' replace into table u163 character set utf8 fields terminated by ' ' lines terminated by '\n' (email,pwd)" 2>&1 & # 查找命令 find . -name “well-know” -exec grep emoji {} -H \; grep -rn open_basedir . #删除svn命令 find . -type d -name ".svn"|xargs rm -rf 或 find . -type d -iname ".svn" -exec rm -rf {} /;
No Leanote account? Sign up now.