View Single Post
Old 08-05-2020, 10:21 PM   #37
droopy
Guru
droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.
 
Posts: 834
Karma: 2912460
Join Date: Apr 2009
Device: Kobo Forma
Quote:
Originally Posted by haertig View Post
Code:
find . -type f -ls | egrep -v '\.(epub|cbz|mobi|pdf|db)' | cut -c48- | sort -rn | sed -e 's/\\//g' | more
Notice now I am using the "more" command rather than the "pg" command. They basically do the same thing. Note that with "more" you use the spacebar to advance a page, rather than enter key like you do with "pg". On Linux distros, you will usually find either the pg command or the more command installed, usually both. In your case, you don't have pg. So use more instead.

Nore: The -v option to the egrep command means "everything except". So the above command will list everything except epub's, cbz's, mobi's, pdf's and db's
Is there a way to print the output into some file? It may be easier to view/search/share if it's in some output file.
Update: I'm not with my Calibre computer right now, and plan to try this tomorrow.
droopy is offline   Reply With Quote