Follow me
-
Recent Posts
calendar
December 2024 M T W T F S S 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Recent Comments
- Stan on python argparse issues with the help argument (TypeError: %o format: a number is required, not dict)
- Cormac on Pandas : how to compare dataframe with None
- LP on AWK: the substr command to select a substring
- jrab on python argparse issues with the help argument (TypeError: %o format: a number is required, not dict)
- How to disable SSL verification for urlretrieve? – Peter's blog on python: certificate verified failed
Archives
Categories
Meta
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
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
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
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
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
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
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
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
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