This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Move files from one directory to another | |
| # Usage: move.sh <filelist.txt> <source_dir> <destination_dir> | |
| # Generate a filelist.txt using `ls > filelist.txt` | |
| # First argument is the path to the filelist.txt that contains a newline separated (\n) list of filenames to move | |
| txtListOfFilenames=$1 | |
| # Second argument is the path to the source directory where the files are currently located |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| echo "=== Updating system ===" | |
| sudo pacman -Syu --noconfirm | |
| echo "=== Installing open-vm-tools ===" | |
| sudo pacman -S --noconfirm open-vm-tools | |
| echo "=== Enabling VMware services ===" |
OlderNewer