and how would it be if i would like the work with a variable and set the date of the variable 7 days back?
mynewdate=(date -j -f "%d %b %Y %T" "mydatevariable 7 days ago" +"%F %H:%M:%S")
littlesanto
0
Newbie Poster
David_50
13
Junior Poster in Training
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.