This file contains 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 -v | |
# | |
# clean old mac ports. Can save a few GBs. | |
# run as root. | |
echo "Before: " | |
du -sh /opt | |
dupes=$(port installed | cut -d '@' -f 1 | uniq -d) | |
if [ -z "$dupes" ] |
This file contains 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 | |
# | |
#################################### | |
# Music Command Line Control v1.0 | |
# written by David Schlosnagle | |
# created 2001.11.08 | |
# edit 2010.06.01 Rahul Kumar | |
# edit 2013.08.09 Huw Rowlands | |
# edit 2019.12.19 Huw Rowlands - Updated to Catalina (Music.app) | |
#################################### |
NewerOlder