addressed unicode character problem

This commit is contained in:
Stefen Auris 2024-09-20 00:49:53 -04:00
parent 6c479d240d
commit c08ec192df

View file

@ -1,6 +1,7 @@
#!/bin/bash #!/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 #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 -n -i '/^@/p' $target
sed -ie 's/^.//' $target sed -ie 's/^.//' $target
#loop through the list and download #loop through the list and download