addressed unicode character problem
This commit is contained in:
parent
6c479d240d
commit
c08ec192df
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue