In number 3, is moving every file in a folder just an example to illustrate using a for loop? Or is there a reason why you wouldn't do it like this:
mv * ../elsewhere/
I updated it to a more legitimate use. I didn't actually want to use the example of making backups twice in a row, but the moving example didn't make sense. 🙃
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.