firefox_etiket_liste
This commit is contained in:
		
							parent
							
								
									d51b9830d2
								
							
						
					
					
						commit
						78d71c7703
					
				
					 1 changed files with 13 additions and 0 deletions
				
			
		
							
								
								
									
										13
									
								
								bin/firefox_etiket_liste
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										13
									
								
								bin/firefox_etiket_liste
									
										
									
									
									
										Executable file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,13 @@
 | 
			
		|||
#!/bin/sh
 | 
			
		||||
if [ $2 ];then
 | 
			
		||||
	_profil="~/.mozilla/firefox/$2"
 | 
			
		||||
else
 | 
			
		||||
	_profil=$(cat ~/.mozilla/firefox/profiles.ini | grep 'Path=' | sed s/^Path=//)	
 | 
			
		||||
fi
 | 
			
		||||
if [ $_profil ];then
 | 
			
		||||
	for fk in `echo "select fk from moz_bookmarks" | sqlite3 ~/.mozilla/firefox/${_profil}/places.sqlite`;do 
 | 
			
		||||
		echo "select * from moz_places where id=$fk" | sqlite3 ~/.mozilla/firefox/${_profil}/places.sqlite | cut -d'|' -f2-3; 
 | 
			
		||||
	done
 | 
			
		||||
else
 | 
			
		||||
	echo "bir profil belirtin";exit 1
 | 
			
		||||
fi
 | 
			
		||||
		Loading…
	
	Add table
		
		Reference in a new issue