LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Find Command (https://www.linuxquestions.org/questions/linux-newbie-8/find-command-840684/)

birla.sunil 10-27-2010 02:13 AM

Find Command
 
Hi i have two queries regards to find with exec command
a)i want to use (find and replace) the file .jpg to gif with
find/exec how the command works.
b)i want to search file those are created between particular dates
eg between 1.10.10 to 10.10.10 not by days , i only aware of days
not by dates .how can it be done.

prayag_pjs 10-27-2010 02:33 AM

Hi,

man find will help you

for your reference follow this example:

How to apply a unix command to a set of file (-exec).

Code:

find . -name "rc.conf" -exec chmod o+r '{}' \;
You can also refer this link:

http://www.linuxquestions.org/linux/...Find_command_0


All times are GMT -5. The time now is 06:13 PM.