Category Archives: Linux

Error while mounting external disk (NTFS is either inconsistent … $MFTMirr does not match $MFT)

I encountered a cryptic error message while trying to mount a disk under Fedora (39) using the desktop file manager. I went to the shell command to mount manually and hoping to get more information using sudo mount /dev/sda1 /run/media/cokelaer/ext … Continue reading

Posted in Linux | Leave a comment

Efficient File Copying with Rsync: Including Only Certain File Types

When it comes to efficient and reliable file synchronization and copying, Rsync stands out as a powerful tool. Not only does it allow you to transfer files between local and remote locations, but it also offers the flexibility to include … Continue reading

Posted in Linux | Tagged | Leave a comment

Setup ssh server on Fedora Linux platform

It could be useful to set up a SSH server on your Linux box. For instance, once set up, you can copy files from a Windows machine to your Linux box using ssh/ftp protocol. It is actually quite easy. Here, … Continue reading

Posted in Linux | Tagged , | Leave a comment

Fedora 32 installation and post installation

A new laptop ! Great, let’s install a new Linux Fedora version. Insteresting to see that from 4 years ago, the version number has jumped from 23 to 32. 10 version in 4 years. Anyway. This is surely for the … Continue reading

Posted in Linux | Tagged | 1 Comment

how to set the logging in DEBUG mode when using the python requests package

By default when using the excellent requests package, there is not much on the screen to figure out was goes wrong with a specific URL requests. In general, you do not need it but from time to time it is … Continue reading

Posted in Computer Science, Linux, Python | Tagged | Leave a comment

How to Mount and Use an exFAT Drive on Fedora Linux

Yesterday, I got this hard drive from a collaborator with huge amount of sequencing data on it. Under fedora 23, I pluged in the hardrive, open the browser, click on the hard drive name and and got this error message: … Continue reading

Posted in Linux | Tagged | 10 Comments

git error solved: The remote end hung up unexpectedly

Sometimes, when you clone a git repository you may end up with a fatal error “The remote end hung up unexpectedly”. For instance, typing this git command to clone a repository of mine: git clone https://github.com/sequana/sequanagit clone https://github.com/sequana/sequana led to … Continue reading

Posted in Linux | Tagged | 8 Comments

How to find differences between two directories using diff command

When you copy a directory with many files, you may want to check whether the copied directory is indeed an exact copy of the original. You can do that by comparing all files. You can write your own script checking … Continue reading

Posted in Linux | Tagged | Leave a comment

format USB key under fedora

I created a bootable USB key and needed to format the key so that others could use it again. Using the format option (see image below) in the KDE file environment, I got this error: This partition cannot be modified … Continue reading

Posted in Linux | Tagged , | Leave a comment

How to prevent wget from creating duplicates

wget is used to download file from internet. For instance: wget http://url/test.csvwget http://url/test.csv So far so good but two things may happen. First, you may interrupt the download. Second, you may load the file again. Sometimes, files are huge and … Continue reading

Posted in Linux | Tagged | Leave a comment