Re: Stupid Find Tricks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



1. man find
2. man bash
3. write script
4. profit

:-)

hint.

find all files
find all files last modified after x days

remove list two from list 1

depending on structure - work out what users have access to resulting list 
via fancy grep/swk/sed/regexps (use regexps as they are cool)


-- 
Steve.

On Thu, 15 Jan 2004, Mike McMullen wrote:

> 
> Hi all,
> 
> I am trying to get find to do the following:
> 
> I have a directory of symbolic links in a user's home. 
> 
> The symbolic links point to a folder that has a bunch of
> files in it. Each user is only allowed to access the files
> they have links to.
> 
> I am trying to find files from the user's home directory
> that have not been modified in the last two or greater
> days. I need to know by user who hasn't modified 
> ie worked on a file in two+ days. 
> 
> Whats the magic incantation? 
> 
> Thanks,
> 
> Mike
> 
> 
> 
> 
> 
> 


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux