I'm asking for help in writing a script to move some log files. I'm stuck on the date cmd. I want to move any file that ends in .log and whose date is not equal to today. The o/s is Redhat's linux. I've read the man page on the date cmd, and I'm searching for examples on how this is done, but I haven't found it yet. Would somebody help me out with a bit of code? Here's what I've got and this works for me, what I need help with is to figure out how to select the files whose date is not equal to today's date. Thanks
mv 2009-05-10*.log /var/httplogs/
tar -cvf 2009-05-10.tar /var/httplogs/
In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually.
After setting up a router, find the network security…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…