Skip to main content
deleted 44 characters in body; edited tags
Source Link
Jeff Schaller
  • 68.8k
  • 35
  • 122
  • 264

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.

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.

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.

added 30 characters in body
Source Link
GAD3R
  • 69.9k
  • 32
  • 147
  • 216

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

 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

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

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.

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.

Source Link

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.