Limpar o lixo
Para limpar o lixo que o OSX gera:
find -name *._* -exec rm ‘{}’ ‘;’
find -name .DS_Store -exec rm ‘{}’ ‘;’
Fica aqui a nota para a próxima vez que for necessário
1 Comment »
RSS feed for comments on this post. TrackBack URI
Para limpar o lixo que o OSX gera:
find -name *._* -exec rm ‘{}’ ‘;’
find -name .DS_Store -exec rm ‘{}’ ‘;’
Fica aqui a nota para a próxima vez que for necessário
RSS feed for comments on this post. TrackBack URI
Uma opção interessante seria usar o find com -delete. Do ‘man find’:
-delete
Delete files; true if removal succeeded. If the removal
failed, an error message is issued. Use of this action
automatically turns on the ’-depth’ option.