Just a nice post with a some nice examples about how to use brace expansion in bash. Assuming you use the shell and bash script to automate your tasks this is a nice reference.

Please be my guest and follow the link…

Explains how to use of bash brace expansion {,} in cp, mv, diff and other file related commands on Linux, macos, and Unix-like systems.

Source: Explain: {,} in cp or mv Bash Shell Commands – nixCraft

Loading