Created
October 11, 2011 12:08
-
-
Save jrtashjian/1277914 to your computer and use it in GitHub Desktop.
Infinite Copy Loop
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
// Not really an infinite loop as the system exits the process eventually, caused by the name being too long. | |
// This is what I did: | |
macbook:~ $ mkdir /var/www/directory/ | |
macbook:~ $ cp -R [bunch of files/directories] /var/www/directory/ | |
macbook:~ $ cd /var/www/directory | |
// at this point I forgot to create a subdirectory I wanted these files to be in, inside the directory I just created. | |
macbook:directory/ $ mkdir /var/www/directory/example/ | |
macbook:directory/ $ cp -R * example/ | |
// ...queue infinite loop. haha |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment