fix svg conversion script
This commit is contained in:
		@@ -48,13 +48,11 @@ The 'fuzz' option tells the computer that 'close to white' is fine.  You might w
 | 
			
		||||
 | 
			
		||||
# Mass convert
 | 
			
		||||
 | 
			
		||||
This script converts all jpg and png files in a directory to svg.
 | 
			
		||||
This script converts all jpg files in a directory to svg.
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
for i in *png *jpg
 | 
			
		||||
do for j in *$i
 | 
			
		||||
do convert $j -resize 2048 $(ls $j | sed s#.$i\$#.svg#)
 | 
			
		||||
done
 | 
			
		||||
for i in  *jpg
 | 
			
		||||
do convert "$i" $(ls "$i" | sed s#jpg\$#svg#)
 | 
			
		||||
done
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user