Re: [OT]: Ho wto find files created on a specific date

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

 



Dan Track wrote:
Hi,

I don't think that's possible as there are literally hundreds of
various directories and thousands of files, each with their own
creation/modification date. Any other thoughts?

Thanks
Dan

On Wed, Apr 2, 2008 at 3:07 PM, Keiran Smith <ksmith@xxxxxxxxxxxxxx> wrote:
Dan Track wrote:

Hi

I need to delete files in my /opt/html/ directory that were
created/modified ON the 20th of March this year? Is there a way for me
to do this?

Thanks
Dan



 Hey Dan,

 You could simply become root

 su -

 and do the following

 rm -rf /opt/html/<file>

 a wildcard can also be used

 Cheers,

 Keiran

 --
 fedora-list mailing list
 fedora-list@xxxxxxxxxx
 To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Hey Dan,

You could use a wild card so

rm -rf /opt/html/*

Would empty the directory

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux