| 
			
			 | 
		#1 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 6 
				Karma: 10 
				Join Date: Mar 2021 
				
				
				
				Device: linuxserver/calibre 
				
				
				 | 
	
	
	
		
		
			
			 
				
				Change author with calibredb
			 
			
			
			Hey 
		
	
		
		
		
		
		
		
		
		
		
		
	
	I am trying to add a space in the authors name: Code: 
	root@1dce1a6e8ae1:/# calibredb --with-library=/books/ show_metadata 5032 Title : Connections in Death Title sort : Connections in Death Author(s) : J.D. Robb [Robb, J.D.] Publisher : St. Martin's Press Series : In Death #48 Languages : eng Timestamp : 2021-07-01T07:08:39+00:00 Published : 2019-02-05T00:00:00+00:00 Identifiers : isbn:9781250201577, goodreads:40122012 root@1dce1a6e8ae1:/# calibredb --with-library=/books/ set_metadata 5032 --field authors 'J. D. Robb' The OPF file /J. D. Robb does not exist I already have many books by this author spelled `J. D. Robb` and only this one book is under another folder because the space is missing... What is the proper command to change the authers name with calibredb? Thank you  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 Resident Curmudgeon 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,782 
				Karma: 150249619 
				Join Date: Nov 2006 
				Location: Roslindale, Massachusetts 
				
				
				Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Would it not be so much easier to use the GUI?
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
| 
			
			 | 
		#3 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 6 
				Karma: 10 
				Join Date: Mar 2021 
				
				
				
				Device: linuxserver/calibre 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Yes it would. But changes by the GUI will be ignored by the api. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	I have calibre and readarr hosted on my media server. Running in docker - https://fleet.linuxserver.io/image?n...server/calibre - https://hub.docker.com/r/hotio/reada...g=last_updated I used to mount the books folder with samba and have the GUI running on my machine. Having those changes applied to the API would be my ideal setup ![]() Is there a way i can do that? f.e. symlink the metadata.db ?  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | |
| 
			
			
			
			 Addict 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 244 
				Karma: 291844 
				Join Date: Oct 2019 
				
				
				
				Device: Kobo Nia 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			From the manual 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Quote: 
	
  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#5 | |
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 6 
				Karma: 10 
				Join Date: Mar 2021 
				
				
				
				Device: linuxserver/calibre 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Code: 
	root@1dce1a6e8ae1:/# calibredb --with-library=/books/ set_metadata --field authors "J. D. Robb" 5032 You must specify a record id as the first argument Code: 
	root@1dce1a6e8ae1:/# calibredb --with-library=/books/ set_metadata 5032 --field authors "J. D. Robb" /books/J.D.\ Robb/Connections\ in\ Death\ \(5032\)/metadata.opf The OPF file /J. D. Robb does not exist  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
| 
			
			 | 
		#6 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			calibredb set_metadata -f "authors:Some Author" 1234 
		
	
		
		
		
		
		
		
		
		
		
		
	
	where 1234 is the book id.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#7 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 6 
				Karma: 10 
				Join Date: Mar 2021 
				
				
				
				Device: linuxserver/calibre 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Awesome! Thank you, works
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
    
| Tags | 
| calibredb, setmetadata | 
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Will Calibre author's name change get sent to CC? | crane3 | Calibre Companion | 1 | 12-17-2017 05:38 AM | 
| Change Author Sort to LN, FN | jgt1942 | Library Management | 3 | 01-22-2017 05:58 AM | 
| Change Catalogue author? | Phssthpok | Library Management | 0 | 04-22-2015 09:27 AM | 
| How to Change the Author around | Spur52 | Library Management | 20 | 09-22-2011 09:21 AM | 
| Change Author | edbro | Sony Reader | 1 | 08-02-2007 10:19 PM |