it would be like a giant Freebsd suppository
i mean repository
sorry i cant resist any opportunity for toilet humour
being British its an integral part of our culture
imagine if you could take the database from this forum and use it as a source in NotebookLM
then you could query the forum in addition to the handbook and man pages with a prompt
that would be really useful
You can click items in the Mind map
and it will then open the section in the sources in the middle pain
for example if i click "User and Basic Account Management"
it then opens that section in the handbook in the middle pane
Freebsd Mind map
after you have uploaded the sources
you will see a button above the prompt called Mind map
click the Mind map button and it will create a new button in the right column
click the button saying "Freebsd Handbook click to open the Mind map"
and this is what you will see
tell me how i can use the du command to show the filesize of a folder
You can use the `du` command along with specific options to display the filesize of a folder.
To show the total size of a folder in a human-readable format, you can use the following command:
```sh
du -sh <folder_path>
```...
doesnt look like thats possible with a standard google account
you only have options to share the Notebook with people in your contacts
and not create a public Notebook
im just looking at if i can make my Notebook Public or share it
what would be cool is to have community Freebsd Notebook people could query
could be useful to new users and save the mods on the forum dealing with noob queries
the advantage is that NotebookLM only queries the sources ( pdf files ) you give it
like the manpages and handbook
rather than trying to search the web and coming up with nonsense
you can save webpages as pdf and upload those as well to use as sources
yes it should be able to offer examples...
Eureka
I uploaded the pdfs of the manpages
and the Freebsd Handbook pdf to Google NotebookLM
I then gave it a prompt asking "tell me about the fortune command"
and it worked it queried the manpage and gave me a response with links to the source
Converting man pages to pdfs for Google...
are you referring to the manpages
and if its possible to convert them to another format instead of pdfs
i converted the man pages to html
so you could convert the html to epub files instead using pandoc
if you wanted to read them on a phone
using pdfs with google notebooklm is the easiest...
i converted all the 4150 html files into a pdf files
which took a while
then i combined them into one pdf
qpdf --empty --pages pdf_manpages/*.pdf -- freebsd_manpages.pdf
that created a 577mb pdf
which is too large to upload to google notebooklm which has an upload filesize limit of 200mb
so...
that created 4150 html pages
as opposed to the previous command which create 1450 page
next step convert the 4150 html pages to pdf files
the issue is going to be combining them as it will exceed the file size upload limit
not sure if the best solution would be to combine a range of files eg...
going to try this code again
using /usr/share/man and not /usr/src/share/man
#!/bin/sh
# Create the html_manpages directory and Convert man pages to HTML using mandoc:
mkdir -p html_manpages
count=0
inodes="" # String to store seen inodes
find /usr/share/man -type f -name "*.gz" | grep...
just tried querying for the du command with only the manpages.pdf as a source
not found in source
so there must be an issue with how i converted the man pages to html and then pdfs
i created the manpages from
/usr/src/share/man
instead of the man pages installed on the system
my thinking...
uploaded the man pages combined into a single pdf
removed the pdf and will try a new version
google notebooklm wont allow you to use pdfs from your google drive as a source
only google docs and google slides
so you have to upload the file in google notebooklm
just uploading the pdf to...
combined all the pdfs of the man pages into one pdf
qpdf --empty --pages pdf_manpages/*.pdf -- freebsd_manpages.pdf
the combined pdf has a file size of 197mb
google notebooklm has a filesize limit on files of 200 mb
so just under that
uploading to google drive and will make it public
i will upload the combined pdf to google drive
and make it public
that way other users can download the pdf and use it with google notebooklm
rather than having to create the pdf themselves
texlive-full finally downloaded
converting all the html pages converted from the man pages to pdfs
mkdir -p pdf_manpages
for html_file in html_manpages/*.html; do
pdf_file="pdf_manpages/$(basename "$html_file" .html).pdf"
pandoc -f html "$html_file" -o "$pdf_file"
done
when it has created...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.