re: 5 Handy Bash Tricks in 2 Minutes VIEW POST


Just a heads up, globbing in your "backup every file" example will miss all dotfiles. You could do a dual expansion in this case for i in * .*; do echo "${i}"; done but this also includes . and .. in this glob. YMMV depending on what you're doing with the list.

code of conduct - report abuse