View Single Post
Old 08-05-2011, 01:06 AM   #20
Man Eating Duck
Addict
Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.
 
Posts: 254
Karma: 69786
Join Date: May 2006
Location: Oslo, Norway
Device: Kobo Aura, Sony PRS-650
Quote:
Originally Posted by kakkalla View Post
What if I wanted a tab as the separator? I don't know how to enter a tab in Terminal after the --separator= command.

Thank you.
Old thread, but I'll pitch in my solution for the benefit of Googlers:

Just use a marker for the separator and replace it with tabs in an editor, like this:
Code:
calibredb list --separator="SEPARATOR" >list.txt
Then you just search/replace with a decent editor like textpad or notepad++.

On Linux this command will give you a tab-separated list in list.txt:

Code:
$ calibredb list --separator="SEPARATOR" | sed 's# *SEPARATOR#\t#g'>list.txt

Last edited by Man Eating Duck; 08-05-2011 at 01:12 AM.
Man Eating Duck is offline   Reply With Quote