Last active
October 13, 2019 22:16
-
-
Save mranawake/b75a241f9bcc557b971541173f6c164e to your computer and use it in GitHub Desktop.
Move all files, folders and hidden files from one folder to another folder.
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
# set the dotglob shell optio if you want to move dot (hidden) files | |
shopt -s dotglob | |
# move all files, folders and hidden (if above option set) to a destination folder. | |
mv ~/source/* ~/destination |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment