How to safely move and rename files based on REGEX into properly named directories

Published: 2/12/2019
How to safely move and rename files based on REGEX into properly named directories
Source: UNIX.STACKEXCHANGE.COM

In a large drive, I have multiple hundreds of files each named differently but with a few regular expressions. Each appended with random numbers and sometimes characters. For example, there are 30 files named with a variation of the word "television", and another 50 varied from "lightbulb". The thing is, that due to the bad coding practice I had years ago when implementing the script that gene

Read more
Related news
Comment
FACEBOOK