top of Lone Mountain… Done!
scp allows files to be copied to, from, or between different hosts. It uses ssh for data transfer and provides the same authentication and same level of security as ssh.
Examples:
Copy the file “foobar.txt” from a remote host to the local host
$ scp your_username@remotehost.edu:foobar.txt /some/local/directory
Copy the file “foobar.txt” from the local host to a remote host
$ scp foobar.txt your_username@remotehost.edu:/some/remote/directory
Copy the directory “foo” from the local host to a remote host’s directory “bar”
$ scp -r foo your_username@remotehost.edu:/some/remote/directory/bar
Copy the file “foobar.txt” from remote host “rh1.edu” to remote host “rh2.edu”
$ scp your_username@rh1.edu:/some/remote/directory/foobar.txt \your_username@rh2.edu:/some/remote/directory/
Copying the files “foo.txt” and “bar.txt” from the local host to your home directory on the remote host
$ scp foo.txt bar.txt your_username@remotehost.edu:~
Copy the file “foobar.txt” from the local host to a remote host using port 2264
$ scp -P 2264 foobar.txt your_username@remotehost.edu:/some/remote/directory
Copy multiple files from the remote host to your current directory on the local host
$ scp your_username@remotehost.edu:/some/remote/directory/\{a,b,c\} .
$ scp your_username@remotehost.edu:~/\{foo.txt,bar.txt\} .
Completely stolen from: http://www.hypexr.org/linux_scp_help.php
Use this command to copy your local ssh public key to a remove server from a Mac.
cat ~/.ssh/id_rsa.pub | ssh user@machine "mkdir ~/.ssh; cat >> ~/.ssh/authorized_keys"
I can’t believe there isn’t a single solution that allows me to put all my music in one place and listen to it on any device I own.
iTunes:
- Can’t listen to it from work because it’s located at my house.
- Need to physically sync some devices.
- Not enough physical space on devices to sync all music
Amazon:
- Cloud player is a piece of shit.
- Doesn’t have an apple application.
Google:
- See Amazon…
Safari under Lion will re-open all of the previous tabs that were open when it was last closed. To prevent this:
defaults write com.apple.Safari ApplePersistenceIgnoreState YES
abort: case-folding collision between WebContent/includes/page1.xhtml
and WebContent/includes/Page1.xhtml
This usually means that there is a problem with a file having the same name but with different casing. The happens when a case-sensitive operating system changes the case of a file and then another user tries to update with a case-insensitive operating system.
FIX: update the project on a case-sensitive operating system by removing the version of the file not needed or you could do it the hard way: http://mercurial.selenic.com/wiki/FixingCaseCollisions


