diff --git a/bin/bin/stow b/bin/bin/stow index 283440b..d2c6e68 100755 --- a/bin/bin/stow +++ b/bin/bin/stow @@ -61,6 +61,10 @@ foreach ($files as $file) { line("File $targetFile is already stowed from $stowFile"); continue; } + if(is_dir($targetFile)) { + line("File $targetFile is a folder, todo: recurse through existing folders"); + continue; + } if (is_file($targetFile)) { if ($backup) { $backFile = $targetFile . '.bak';