re: 5 Handy Bash Tricks in 2 Minutes VIEW POST

FULL DISCUSSION
 

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/
 

Haha, no.

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. 🙃

code of conduct - report abuse