###Force trush on Mac From terminal Command
sudo rm -rf ~/.Trash
sudo rm -rf /Volumes/*/.Trashes
###Copy File from server to local pc
scp (remote computer):path/to/remote/file (location on my local computer)
rsync -av /path/to/source /path/to/destination
rsync -av /path/to/source/ /path/to/destination/source
####example copy from server to my pc
scp [email protected]:/var/www/css/wordpress/release/unship_data.zip /Volumes/Storage/tuhin.dev/web/css/products/themeforest/wordpress/unship/package/
###Move or Rename
mv -v oldpath/name newpath/name
###Edit Host File
sudo nano /private/etc/hosts
Last active
August 29, 2015 14:09
-
-
Save niamrox/b97fc106f3270a2d51f9 to your computer and use it in GitHub Desktop.
Terminal Command
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment