Sort pdf files with python
This script seeks for pdf files inside the declared folders, cuts the first 8 digits from their names, search for a folder with the same 8 digits and if the […]
This script seeks for pdf files inside the declared folders, cuts the first 8 digits from their names, search for a folder with the same 8 digits and if the […]
This bash script searches for pdf files inside folders you declare in the first array (dir) and put those files in folders with the first 8 digits files’ names. I […]
#!/bin/bash HOSTS=”192.168.100.100″ COUNT=4 for myHost in $HOSTS do count=$(ping -c $COUNT $myHost | grep ‘received’ | awk -F’,’ ‘{ print $2 }’ | awk ‘{ print $1 }’) if [ […]