Find Techniques
Hey guys im trying to use find to search for files that belong to certain user which has a range of file size ex. 10k to 100k. Do you know how to make this possible...
|
It's all on the find man page, but the following will work:
Code:
find /dir/path -size +10k -size -100k -user <username> |
:Doh thank you ive been doing the same but it seems i did some mistake thank you...
|
Hi this doesnt work, its like it wont work if there are 2 -size.
|
Strange, it works for me. What version of find are you using? Maybe your version needs '-and' between the arguments. Try:
Code:
find /dir/path -size +10k -and -size -and -100k -and -user <username> |
when it is too difficult, I use kfind
or wine totalcommander.exe :) |
yup the -and works... thank :D
|
All times are GMT -5. The time now is 06:49 AM. |