rename podman_ projects to container_
This commit is contained in:
10
README.md
10
README.md
@@ -40,6 +40,7 @@ or give me access to your servers.
|
|||||||
- ["find ." shortcuts](#find--shortcuts)
|
- ["find ." shortcuts](#find--shortcuts)
|
||||||
- [tmux](#tmux)
|
- [tmux](#tmux)
|
||||||
- [bash](#bash)
|
- [bash](#bash)
|
||||||
|
- [Bulk File/Folder Renaming](#bulk-filefolder-renaming)
|
||||||
- [SSH Setup](#ssh-setup)
|
- [SSH Setup](#ssh-setup)
|
||||||
- [Git GPG Commit Signing](#git-gpg-commit-signing)
|
- [Git GPG Commit Signing](#git-gpg-commit-signing)
|
||||||
- [Important Dates and Times](#important-dates-and-times)
|
- [Important Dates and Times](#important-dates-and-times)
|
||||||
@@ -118,6 +119,15 @@ So to check if you are in an interactive shell:
|
|||||||
[ $- == *i* ]] && Some command here
|
[ $- == *i* ]] && Some command here
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Bulk File/Folder Renaming
|
||||||
|
|
||||||
|
```bash
|
||||||
|
for change_dir in $(ls | grep 'podman_*'); do
|
||||||
|
new_name=$(echo $change_dir | sed 's/podman_/container_/g')
|
||||||
|
mv $change_dir $new_name`;
|
||||||
|
done
|
||||||
|
```
|
||||||
|
|
||||||
## SSH Setup
|
## SSH Setup
|
||||||
|
|
||||||
Generate a key (password protect it!)
|
Generate a key (password protect it!)
|
||||||
|
|||||||
Reference in New Issue
Block a user