1. 程式人生 > >常用的find命令

常用的find命令

class 路徑名 font 等於 權限 -s 20M span 路徑搜索

find命令
find [路徑名] –name/-size/-perm 
find [路徑名] –name “*p” 在路徑搜索p結尾的文件夾及文件
find [路徑名] –name “[ab]*” 在路徑搜索以a或b開頭的文件夾及文件
find [路徑名] –size +20M 在路徑搜索大於20M的文件
find [路徑名] –size -20M 在路徑搜索小於20M的文件
find [路徑名] –size 20M 在路徑搜索等於20M的文件
find [路徑名] –perm 777 在路徑搜索權限為777的文件

常用的find命令