From c08ec192dfa2e9bec6d807cbebe198cd9f22b2bb Mon Sep 17 00:00:00 2001 From: sc-idevops Date: Fri, 20 Sep 2024 00:49:53 -0400 Subject: [PATCH] addressed unicode character problem --- scripts/server_bin/bsky_follow.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/server_bin/bsky_follow.sh b/scripts/server_bin/bsky_follow.sh index d590144..8796830 100755 --- a/scripts/server_bin/bsky_follow.sh +++ b/scripts/server_bin/bsky_follow.sh @@ -1,6 +1,7 @@ #!/bin/bash -target=/home/stev/Pictures/gallery-dl/bluesky/follow.txt +target=/home/stev/Pictures/gallery-dl/bluesky/follow2.txt #edit follows file in place +iconv -c -f utf-8 -t ascii /home/stev/Pictures/gallery-dl/bluesky/follow.txt > $target sed -n -i '/^@/p' $target sed -ie 's/^.//' $target #loop through the list and download