Last active
July 21, 2019 06:00
-
-
Save estysdesu/3d56ba7867ccb73d573f829308151624 to your computer and use it in GitHub Desktop.
[Shell: file movement] #cp #mv #rm #ln #sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##### ln (SYMLINKS) ##### | |
# -n: no dereference (prevents recursion of directories by stopping link following) | |
# -f: force if already exists by unlinking first | |
# -s: symbolic | |
# -d/-F: directory | |
ln -sf <path/to/source/file> <path/to/dest/file> | |
ln -sFn <path/to/source/dir> <path/to/dest/dir> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment