Welcome To Snipplr


Everyone's Recent Bash Snippets Tagged mac



« Prev 1 2
  1. FAV

    Automatisches öffnen von Fotos deaktivieren

    automatisches starten von Fotos beim Anschliessen von Geräten deaktivieren (YES), aktivieren (NO)
    Bash 3 views posted 4 years ago by daniels
  2. FAV

    Automatisches öffnen von Fotos deaktivieren

    disable automatic starts of photos when connecting devices (YES), aktivate (NO), automatisches starten von Fotos beim Anschliessen von Geräten deaktivieren (YES), aktivieren (NO)
    Bash 6 views posted 4 years ago by daniels
  3. FAV

    Mac Vorschau Druckmenü auf 100% als Standard stellen

    Set the default print settings of preview app on 100%. Schaltet beim Programm Vorschau die Druckeinstellung standardmässig auf 100%, diese bzw. wieder aus.
    Bash 3 views posted 4 years ago by daniels
  4. FAV

    unzip: all files, matching a pattern from A to B directory

    <p>unzip -l ./zips/2014/* -d ./unzipped/2014/</p>
    Bash 5 views posted 5 years ago by khaksari
  5. FAV

    sed replace in Mac OS X

    Replaces string 'sth' with 'sth-new' in all files in current directory.
    Bash 1 views posted 7 years ago by ef
  6. FAV

    Add spaces to Mac OS dock

    Add the first line in terminal and press return. Add second line in terminal press return to refresh the dock
    Bash 3 views posted 7 years ago by klagraff
  7. FAV

    Install Pear with XXAMP on Mac

    Enabling pear on a Mac using XXAMP
    Bash 1 views posted 8 years ago by prolutions
  8. FAV

    Show Hidden Files in Mac Finder

    Open up your terminal and type in the following commands to show hidden files (such as a .htaccess file).
    Bash 5 views posted 8 years ago by BFTrick
  9. FAV

    Delete All .pyc Files in Directory on OSX

    Bash 2 views posted 8 years ago by tclancy
  10. FAV

    Convert file encoding on Mac

    Bash 1 views posted 8 years ago by a1ias
  11. FAV

    Generate Random MAC Address

    This can be used to generate a random MAC address which can be used for spoofing or other purposes.
    Bash 0 views posted 8 years ago by james0rion
  12. FAV

    Create file with a list of recursive directories

    Bash 1 views posted 8 years ago by yannxou
  13. FAV

    Removing text from multiple files and creating a clean copy

    1. You'll need the perl-based rename script http://tips.webdesign10.com/how-to-bulk-rename-files-in-linux-in-the-terminal 2. I'm using Terminal on mac so you might need to change some of your flags
    Bash 2 views posted 9 years ago by timberjorge
  14. FAV

    Create a Dock Document Space

    Bash 0 views posted 9 years ago by titosemi
  15. FAV

    Create a Dock Application Space

    Bash 1 views posted 9 years ago by titosemi
  16. FAV

    Get MAC address remote IP

    Bash 2 views posted 9 years ago by vigoncas
  17. FAV

    Relative to Absolute Path Conversion

    the os x version of realpath works differently than the linux version; the following allows you to attain the same functionality in a shell on os x as `readlink -f $0` on a standard linux dist.
    Bash 4 views posted 9 years ago by iloveitaly
  18. FAV

    Compare directories via diff

    Bash 1 views posted 9 years ago by alvarezrilla
  19. FAV

    Generate a tar gz file from a file list

    Bash 0 views posted 9 years ago by nalmeida
  20. FAV

    SVN log by user

    Command: svn log -rHEAD:443 | sed -n '/nalmeida/,/-----$/ p'
    Bash 0 views posted 9 years ago by nalmeida
  21. FAV

    download the first 50,000,000 prime numbers

    Bash saved by 3 people 1 views posted 9 years ago by adkatrit
  22. FAV

    Remove .DS_Store

    Bash saved by 2 people 0 views posted 9 years ago by dalcacer
  23. FAV

    using top on Snow Leopard

    more tips available; see link
    Bash 1 views posted 9 years ago by obi
  24. FAV

    Generate SWC file

    for help, type: ./compc -help [command]
    Bash 0 views posted 10 years ago by nalmeida
  25. FAV

    Config terminal to move word-by-word

    To config Terminal do move (left and right) word-by-word: - Esc + b (left) - Esc + f (right) To configure it to Alt + left and right: - Open Terminal preferences (command + ,); - At Keyboard tab, select "control cursor left (or right)" and...
    Bash 5 views posted 10 years ago by nalmeida
  26. FAV

    Search for texts inside files

    Bash 1 views posted 10 years ago by nalmeida
  27. FAV

    Remove all ._ files from directory and its children

    Bash 2 views posted 10 years ago by danshields
  28. FAV

    how to start mysql under mac os x

    Bash 1 views posted 10 years ago by yakafokon
  29. FAV

    Show all files in the Finder

    run the command in a terminal window restart the computer (... I didn't find another way so that the command take effect)
    Bash 2 views posted 10 years ago by yakafokon
  30. FAV

    Open app from command line: OSX

    Bash saved by 5 people 2 views posted 10 years ago by dorseye
« Prev 1 2