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
# powershell script for deleting unwanted apple crap files – mostly on "infected" USB-sticks | |
# like ._somecrap | |
$theSource = "E:\" # <<<<< insert drive here | |
Get-Childitem $theSource -Include @("._*", ".DS_Store", ".fseventsd", ".TemporaryItems", ".Trashes", ".Spotlight-V100") -Recurse -Force -ErrorAction SilentlyContinue | Remove-Item -Force -Recurse |
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 -xe | |
# | |
# sudo gem install fpm | |
# sudo apt-get install curl | |
# # Put this script in a folder called tomcat-packaging | |
# ./mkdeb.sh 7.0.40 | |
# ./mkdeb.sh 6.0.37 | |
# | |
VERSION=$1 |