Created
December 29, 2016 04:19
-
-
Save brandonpittman/48bf1d21de0f62fa2cd46e5fafbbc1b9 to your computer and use it in GitHub Desktop.
Accidentally create a non-dotfile at the base of your home directory? Move those files to the desktop!
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
#!/bin/bash | |
find ~ -maxdepth 1 -type f -not -name '.*' -exec mv {} ~/Desktop \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment