Below you will find pages that utilize the taxonomy term “Linux”
Extract a list of files from a folder and paste it into a document, in MS Windows, GNU/Linux and macOS.
Article on how to copy a list of files in a folder and paste the list into an open document. The operation is performed only with resources internal to the tested operating systems, which are MS Windows, GNU/Linux (Arch, Fedora and Ubuntu) and macOS, although in the last one, only in command-line mode.
- 1. Topic of this article.
- 2. Command line solution in MS Windows.
- 3. Command-line solution in GNU/Linux and macOS.
- 4. Graphical solution in Windows with File Explorer.
- 5. Graphical solution in Linux with File Manager.
1. Topic of this article.
Have you ever had a folder on your computer full of files and need to insert the list of those files in a page you are editing?
Reducing the size of single or multiple PDF documents in GNU/Linux Bash and Python
Abstract: Compression of PDF documents is a useful technique to reduce the space occupied by these files and facilitate their transmission and storage. In this article, starting from a page devoted to compressing single PDFs, I present two methods for compressing multiple PDF documents. The reference page is as follows: “Linux shell script to reduce PDF file size (simple verification required to enter) and allows you to operate on single PDFs in command-line bash code in the GNU/Linux terminal. Based on the previous one, I tried to extend the procedure to operate on multiple PDFs. In the end I present a simple application in Python with graphical interface. I admit that I asked for some help from ChatGPT and Copilot.
Linux: rename, rename.ul, prename, perl-rename: what a confusion!
Summary of this article.
In this article I report some observations on how to rename documents in GNU/Linux using text commands, clarifying some differences between various distributions.
The rename
command does not, in fact, have unique behavior in distributions derived from Debian versus those derived from Fedora and Arch.
I will try to clarify the content of different commands and the different behavior of commands that have the same name.
Two open-source solutions for framing images
What is the topic of this article?
In this article, I describe two simple methods for decorating both single and multiple images with an outline frame, using two open-source resources in the GNU/Linux operating environment.
The first solution uses a graphics application. The second, on the other hand, is command-line.
Adding a frame to images is very useful in excerpts of documents published on sites and blogs.
In these cases, in fact, adding a border serves to “detach” documents published as images from the base document in which they are published.
Powerful OCR system under GNU/Linux for PDF documents managed from command line and with refinement by Vim.
Introduction.
The idea came from reading this article about optical character recognition (OCR) in the GNU/Linux environment from images and PDF, managed from the command line.
Obviously, PDF documents are those scanned from paper original, i.e., not obtained by direct saving of document in digital format. For the latter, no OCR is needed.
The article is very well written and the end result is very good.
I wondered if it would be possible to aggregate all the steps into a single text command.
Linux: move "home/user" directory back to the same "root" partition
What’s my target?
I’ve installed, as it should always be, a Linux distribution in two separate partitions.
In particular: the root directory in /dev/sdb2 partition and the home/user directory in /dev/sdb3 one.
After some time, I wanted to return the home/user directory to the same root partition.
Why I need it? I’d like to dedicate every partition to different Linux distributions.
What I’ve read before writing this article?
In the net I found many tutorials about moving the home/user directory to other partition, but not so many on the opposite operation.