I have some markdown files that I want to move to a different directory called "newDirectory2" within "newDirectory1".
These files contain the string "abc" or "ABC" or "Abc" somewhere in their titles
I tried the following command:
rename 's/newDirectory1\/newDirectory2\/$1/s' 's/(^.*[abc|ABC|Abc].*.md)/s' But it doesn't work :/, what I'm doing it wrong? please help