Greetings,
I'm completely lost here and would appreciate any help.
I'm trying to understand the difference between "GNU find" and "BSD find," specifically how exactly primary
I'm doing something like:
So, the idea here is to display files that were modified less than two days ago, and then I'm replacing
While this works in Linux, FreeBSD's
I'm reading the "find" manual now to figure it out, but without avail yet.
Thanks
I'm completely lost here and would appreciate any help.
I'm trying to understand the difference between "GNU find" and "BSD find," specifically how exactly primary
-exec
works.I'm doing something like:
find . -mtime -2 -exec ls -l {} \;
So, the idea here is to display files that were modified less than two days ago, and then I'm replacing
ls -l
with a different tool that accepts exactly one argument as a file path.While this works in Linux, FreeBSD's
find
gives me a complete list of all files in the current directory, ignoring primary -mtime -2
.I'm reading the "find" manual now to figure it out, but without avail yet.
Thanks