The Bash command line is a great way to automate tasks. The for command makes it easy to perform one or more actions on a set of files. The if command allows you to perform many different tests, such as if a file is really a file or if it's empty.

4m read timeFrom opensource.com
Post cover image
Table of contents
Linux for command: Automate tasks on a filesLinux conditional execution (if)
3 Comments

Sort: