Convert Samsung HEIC files to png easily with Linux.
How to convert a Samsung HEIC file to a PNG image on Linux easily.
How to convert a Samsung HEIC file to a PNG image on Linux easily.
Some source code of the Windows cpl files from the Windows XP Control Panel.
A nice version of ls in a compact C program for Linux.
A very useful C program to list all files in a directory. This might be very useful.
How to verify Arma 3 game files with Steam to fix Arma 3 issues. This is very easy.
How to list all files in a directory that have spaces in the filename. This is a very useful Linux tip.
How to include a script in your ~/.bashrc and see the output in your terminal window. This is a great Linux tip and would be indispensable if you have custom scripts.
This simple one-liner will copy all files into a tarball, send the compressed files over a secure SSH connection and then uncompress the files into a local directory. ┌──(john㉿DESKTOP-PF01IEE)-[~/website] └─$ ssh [email protected] -p 2222 "cd arma3/ ; tar cBf – ." | tar xvBf – [email protected]’s password: ./ ./README ./example_urllist.txt ./example_config.xml ./sitemap_gen.pl┌──(john㉿DESKTOP-PF01IEE)-[~/website] └─$ ssh [email protected] … Read more
If you wish to find files larger than a certain size on a Linux hard disk, this is a very useful tip. This uses backticks to feed the output of the find command as a parameter to ls. This allows listing the few largest files in a directory. ┌──[[email protected]]─[/media/jason/More Media] └──╼ ╼ $ ls -hula … Read more
There are many ways to find files embedded inside other files, one way is using binwalk to find embedded files inside another file. This is how to use binwalk to list all embedded files inside a larger one. This takes a while with a multi-gigabyte file, but it does work. ┌──[[email protected]]─[/mnt] └──╼ ╼ $ binwalk … Read more
This example will send the Boomsrc folder and all of the contents to the remote machine under the /home/jason/Desktop directory. This is very fast and secure. ┌──[[email protected]]─[~/Documents] └──╼ ╼ $ tar cBf – Boomsrc | compress -c | ssh [email protected] "cd /home/jason/Desktop; uncompress -c | tar xBvf -"┌──[[email protected]]─[~/Documents] └──╼ ╼ $ tar cBf – Boomsrc … Read more
The ~/.vimrc file is very useful to store your configuration settings in. But it can also have other files included in it, with a simple line of text. This means you can have one configuration file containing syntax highlighting settings and other settings in another file. This is how to do it. Use the line … Read more
Listing files on a remote machine is very easy. Rsync is the best way to do this. It can be used to transfer a bunch of files from one machine to another, but it also can be used to list a remote directory. Here is a very useful example. ┌──[[email protected]]─[~] └──╼ ╼ $ rsync –list-only … Read more
This command will change the default port for the SSH server on your Linux machine. jason@jason-desktop:~$ perl -pi -e ‘s/^#?Port 22$/Port 443/’ /etc/ssh/sshd_configjason@jason-desktop:~$ perl -pi -e ‘s/^#?Port 22$/Port 443/’ /etc/ssh/sshd_config Then run this command to restart the SSH server. jason@jason-desktop:~$ sudo service ssh restartjason@jason-desktop:~$ sudo service ssh restart This will work very well. This is … Read more
The Linux find command is very useful for finding certain files. I will show how to search a folder and return a listing of files. This example below shows how to list all webm and gif files in the directory and all subdirectories. 4.4 Fri Feb 21 jason@Yog-Sothoth 0: $ find -regex ‘.*\.\(gif\|webm\)’ -print ./1397195397532.gif … Read more
Reports are increasing across Twitter and Microsoft forums that following the most recent Patch Tuesday update (KB4532693), users are complaining that their profiles and desktop files are missing, and that custom icons and wallpaper have all been reset to their default state. The KB4532693 update is allegedly causing much more serious headaches for some users. … Read more
Renaming folders is very easy. I have a folder with subdirectories named from 1 to 9. And I wish to rename them folder1 to folder9. This can be easily done with bash. This example will take care of this problem easily. 4.4 Fri Jan 31 jason@Yog-Sothoth 0: $ for i in $(seq 9);do mv $i … Read more
Thumbnailing for the DirectDraw Surface file format is not supported in Linux with the Caja file manager, but this is easy to fix. The /usr/share/thumbnailers/ directory contains all of the thumbnailer files that automatically create thumbnails in the file manager for Caja. Just create a file named dds.thumbnailer and put this in it. 2 3 … Read more
How to use rsync to send files from your hard disk to a backup drive. This example will copy the files from a folder to a backup drive and the ipinfo folder will be created on your backup HDD. rsync -av Documents/ipinfo/ /media/jason/Seagate\ Expansion\ Drive/Linux/ipinfo/ sending incremental file list created directory /media/jason/Seagate Expansion Drive/Linux/ipinforsync -av … Read more
I have been playing around with old Stalker Shadow of Chernobyl builds. Build 1935 and build 2571. Firstly, I looked at build 2571. I cannot run this, but it is fun to look inside the game files and see what is inside. I used this utility to extract the game files. https://securitronlinux.com/linux/stalker/undb.zip. Just put it … Read more