Skip to content

Commit

Permalink
➕ add python package bulk update
Browse files Browse the repository at this point in the history
  • Loading branch information
devmount authored Sep 22, 2022
1 parent eba34f6 commit 4b79f5d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions sheets/bash.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,11 @@ Convert all PHP files in the current directory to Unix line endings
```bash
find "./" -type f -name '*.php' -execdir dos2unix {} +
```

## Python

Update all outdated packages at once

```bash
pip list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip install -U
```

0 comments on commit 4b79f5d

Please sign in to comment.