| 
			
			 | 
		#61 | 
| 
			
			
			
			 Well trained by Cats 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,267 
				Karma: 61916422 
				Join Date: Aug 2009 
				Location: The Central Coast of California 
				
				
				Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I have chmod'd one of my own folders so I could not even see (browse) them  
		
	
		
		
		
		
		
		
		
		
		
		
	
	![]() Once I figured out what i had   done., I set it back the way I found it  
		 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#62 | |
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,855 
				Karma: 13432974 
				Join Date: Nov 2010 
				
				
				
				Device: Kobo Clara HD, iPad Pro 10", iPhone 15 Pro, Boox Note Max 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
| 
			
			 | 
		#63 | |
| 
			
			
			
			 BookMonkey 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 90 
				Karma: 18008 
				Join Date: Apr 2011 
				Location: Shenandoah Valley 
				
				
				Device: NOOK, iPod Touch, Asus Netbook 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Can you -reasonably- design the delete function to only remove "calibre" related files? (may be by extension or tag or something) so that if a file isn't a .PDF or .MOBI or .EPUB or whatever then Calibre won't touch it? I have almost no idea how difficult such a safeguard would be to create and "the juice may not be worth the squeeze", I'm just brainstorming here. Alternately I suppose maybe you could program Calibre to only work inside a folder called Calibre (wherever you choose to locate it) and have it unable to do anything to any file outside of that "Calibre" folder. Last edited by zespectre; 05-04-2011 at 10:18 PM.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#64 | |
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#65 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			@the people suggesting this function remove only calibre managed files: That can be done by just selecting all the books and pressing delete. The purpose of this function is to completely wipe the folder. This is useful when you build up junk files in the folder, perhaps because calibre lost track of some files, for example because of case sensitivity issues, or because you did not initially realize that you should not mess around with the files in this folder.  
		
	
		
		
		
		
		
		
		
		
		
		
	
	All in all, I guess I'm pretty happy with the improved warning dialog. One of my design goals in calibre is to make it as powerful as possible while keeping the basic features easy to use. Powerful tools can be dangerous if used carelessly. Using multiple libraries is not a feature a casual calibre user is likely to encounter, hidden as it is behind the calibre icon on the toolbar. I'm willing to live with the occasional user that does discover it and then fails to heed the delete warning.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
| 
			
			 | 
		#66 | |
| 
			
			
			
			 Evangelist 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 405 
				Karma: 479729 
				Join Date: Feb 2011 
				
				
				
				Device: Kindle 3, Kindle Paperwhite 2 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 So, if I think to myself, "Gosh, I sure do want to delete my library of 153 and 1/2 books and nothing more than those 153 and 1/2 books!" but the confirmation dialog says, "All eleventy billion files in this directory will be deleted PERMANENTLY!!", I can take that as a clue-by-four to not click the "ok" button?  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#67 | 
| 
			
			
			
			 Evangelist 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 485 
				Karma: 270594 
				Join Date: Aug 2010 
				
				
				
				Device: palm tx, Windows7, Galaxy A5 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Several warnings will not help. My dvd-recorder always asks me twice about deletions and I still occasionally manage to delete before catching myself. I am just so very sure that I'm deleting the right thing.  
		
	
		
		
		
		
		
		
		
		
		
		
	
	 
		 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#68 | 
| 
			
			
			
			 Tatütatuter 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 390 
				Karma: 3148 
				Join Date: Oct 2008 
				Location: Germany, Baden, Karlsruhe 
				
				
				Device: Aura H2O, Glo HD, Paperwhite, PRS-950 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			The sequence should be: read - think about what you have read - understand what you have read - do it. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	The part think and understand never can be replaced by (as many as you want) warning dialogs.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#69 | |
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,338 
				Karma: 4000000 
				Join Date: Oct 2008 
				Location: Paris 
				
				
				Device: Cybooks; Sony PRS-T1 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
   Maybe state clearly "including non calibre managed files".But it gets long them.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#70 | 
| 
			
			
			
			 Connoisseur 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 64 
				Karma: 1320 
				Join Date: Nov 2009 
				Location: Wörth am Rhein, Germany 
				
				
				Device: Kindle 3 (WLAN) & hp Jornada 568 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Typical ID107 error - the problem is between the chair and the keyboard!
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#71 | 
| 
			
			
			
			 Close to the Edit! 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,797 
				Karma: 267994408 
				Join Date: Jan 2011 
				Location: UK 
				
				
				Device: Kindle Oasis, Amazon Fire 8", Kindle 6" 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Kovid - it's about time you implemented the "slap the user in the face for a dose of reality" add-on  
		
	
		
		
		
		
		
		
		
		
		
		
	
	 
		 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#72 | 
| 
			
			
			
			 Color me gone 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,089 
				Karma: 1445295 
				Join Date: Apr 2008 
				Location: Central Oregon Coast 
				
				
				Device: PRS-300 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Kovid, 
		
	
		
		
		
		
		
		
		
		
		
		
	
	How about trapping out attempts to create libraries in sensitive areas of the operating systems? I think maybe Vista and Windows7 might object for most of them, but not the desktop. For Linux and Mac I don't know where they would be.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#73 | 
| 
			
			
			
			 Tatütatuter 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 390 
				Karma: 3148 
				Join Date: Oct 2008 
				Location: Germany, Baden, Karlsruhe 
				
				
				Device: Aura H2O, Glo HD, Paperwhite, PRS-950 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Kovid can do what he wants. If he will be successfull in preventing the shutdown of the User-Brain-OS AND securing his application of layer-8-events he will get the Nobel-Price.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#74 | 
| 
			
			
			
			 (he/him/his) 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,323 
				Karma: 80074820 
				Join Date: Jul 2010 
				Location: Sunshine Coast, BC 
				
				
				Device: Oasis (Gen3),Paperwhite (Gen10), Voyage, Paperwhite(orig), iPad Air M3 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			In spite of the user's pain (self-inflicted), this thread has made me chuckle. In my early days as a UNIX admin, I was WAY too smart to ever do rm -rf. Nope. Instead, in a moment of frustration, as root of course, in /usr, I typed:  
		
	
		
		
		
		
		
		
		
		
		
		
	
	chmod -R 777 * Sigh. This, of course, on a production system. It was not pretty. @kovidgoyal: I like the proposed new warning dialog. Though I might phrase it as: "ALL files, including those not managed by Calibre, in [path], will be permanently deleted". The change only to make the action even clearer. But ultimately, nothing you do can prevent the user from being stupid and hurting himself.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#75 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			@CRussel: I'm worried that the longer I make the message, the less likely people are to read it.  
		
	
		
		
		
		
		
		
		
		
		
		
	
	@mrmikel: calibre (as of several months ago) does not let you choose a non empty folder when creating a new library. I suspect the OP created his library before that feature was added.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
            
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Backing up K3 content to a hard drive | nic_x | Amazon Kindle | 56 | 01-06-2011 09:35 PM | 
| Constant Hard Drive Access | Soulsykk | Calibre | 3 | 12-22-2010 12:51 PM | 
| Can I have the program on an external hard drive? | ziegl027 | Calibre | 3 | 02-01-2010 01:18 PM | 
| Migrating Calibre from a failing hard drive - mangled my Collections data | lconover | Calibre | 4 | 03-13-2009 09:25 AM | 
| Easy hard drive data archiving with a USB hard drive adapter | Bob Russell | Lounge | 24 | 02-20-2007 05:15 PM |