Article 5MH5C Getting into the previous directory using date commands

Getting into the previous directory using date commands

by
Pavanchowdary
from LinuxQuestions.org on (#5MH5C)
Hi,
This is Pavan,

Every month we do a build for that we create a folder like 202107 for current month., then copy some files from previous month build 202106. Currently we're doing it manually.

Now we are automating the process. So for the current month build I'll create a folder with the command "$"(date +%Y%m)"". So how can i get to previous build directory. Can anyone tell exact command to use.

Thanks,
Pavan Kumarlatest?d=yIl2AUoC8zA latest?i=euElOnEnwZs:K1OKCN3U4zc:F7zBnMy latest?i=euElOnEnwZs:K1OKCN3U4zc:V_sGLiP latest?d=qj6IDK7rITs latest?i=euElOnEnwZs:K1OKCN3U4zc:gIN9vFweuElOnEnwZs
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments