linux-tutorial/codes/shell/statement/forDemo02.sh
2019-02-28 11:19:16 +08:00

7 lines
90 B
Bash

#!/usr/bin/env bash
for FILE in $HOME/; do
mv "$FILE" "./"
chmod +x "./${FILE}"
done