Boa e velha dica para descompactar arquivos em subdiretórios!
Basta usar os comandos FOR + FIND + GZIP
Sintaxe:
for i in $(find -type f -print); do gzip -d $i; done
Exemplo:
for i in $(find 20140* -type f -print); do gzip -d $i; done
sexta-feira, 21 de março de 2014
terça-feira, 11 de março de 2014
FTP Server - Mac OS
Para habilitar conexões FTP a uma máquina com MAC OS, usar o seguinte comando:
sudo -s launchctl load -w /System/Library/LaunchDaemons/ftp.plist
Para desabilitar, usar o comando:
sudo -s launchctl unload -w /System/Library/LaunchDaemons/ftp.plist
(dica original de http://hints.macworld.com/article.php?story=20110725142848292)
sudo -s launchctl load -w /System/Library/LaunchDaemons/ftp.plist
Para desabilitar, usar o comando:
sudo -s launchctl unload -w /System/Library/LaunchDaemons/ftp.plist
(dica original de http://hints.macworld.com/article.php?story=20110725142848292)
Assinar:
Comentários (Atom)