I need to copy files from one directory to another on a daily basis. I want to keep one weeks worth of files. How can i read the timestamp to determine which is the oldest file so i can delete it?
mrjoli021 -3 Junior Poster
selvaganapathy 31 Posting Pro
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.