Skip to main content
1 of 3

renaming file with date to a different date in shell script

I have files in my home dir as member_net.2017-04-20.control member_elig_net.2017-04-20.control mdcr_contractr_net.2017-04-20.control

I want to rename the files to a different date like in the same dir as

member_net.2017-04-21.control member_elig_net.2017-04-21.control mdcr_contractr_net.2017-04-21.control These files are not of 0 bytes. Could anybody help on this. Thank you.