Created
December 5, 2018 12:33
-
-
Save andmax/d199e6eef8f03d551984e17d11453aa0 to your computer and use it in GitHub Desktop.
Update links in current directory by first deleting all of them using find
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 | |
set -x | |
find ./ -maxdepth 1 -type l -delete | |
ln -s /raid1/data/tensorboard_logs/* ./ | |
ln -s /raid2/data/tensorboard_logs/* ./ | |
ln -s /raid3/data/tensorboard_logs/* ./ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment