Performance, input sanitization, cleanup

This commit is contained in:
2022-01-25 09:05:34 +01:00
parent 9e7436684c
commit c57276b779
3 changed files with 6 additions and 7 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash
outfolder="bilder/pvv-photos"
folders=$(find /home/pvv -maxdepth 3 -name 'pvv-photos' 2>/dev/null)
folders=$(ssh pvv@microbel.pvv.ntnu.no -i /home/pvv/c/pvv/.ssh/photofetcher 'find /home/pvv -maxdepth 3 -name "pvv-photos" 2>/dev/null')
unamefile="usernames.txt"
> $unamefile # Empty the file