Exif, stands for Exchangeable image file format, which we usually use to recognize the camera manufacturer, model, exposure time in a digital photo, it is a standard that specifies the formats for images, sound, and ancillary tags used by digital cameras (or digital devices in nowadays, like smart phones and tablets), scanners and other systems handling image and sound files recorded by digital cameras.
Exif in JPEG image example from Wikipedia: https://en.wikipedia.org/wiki/File:Konqueror_Exif_data.jpg
Exif can help us know more about the photos and audios, but may also leaks the valuable and privacy info if you don’t want to let others know that you just want to share pictures with others, it will also cost a small disk space, but uf you don’t need it or you don’t want it, it’s also a waste of disk space, so you may want to remove that info like me in some situation. Here is the steps to remove Exif under command line.
$sudo pkg install p5-Image-ExifTool# FreeBSD
$sudo apt-getinstall libimage-exiftool-perl# Debian / Ubuntu based GNU/Linux
$sudo yum install perl-Image-ExifTool# RedHat / Fedora based GNU/Linux
Make sure you can now use exiftool:
$exiftool-ver# show the installed version of exiftool
If you would like to see the current exist info, use this command, filename.jpg is the picture you want to manipulate:
Now you can remove Exif info:
By default, it will backup your file to filename_oringinal, like filename.jpg -> filename.jpg_original, so you don’t need to worry about the backup, if you don’t want it, you can also add parameter -overwrite_original to prevent to backup file been generated.
After you remove the Exif info, you will find the modified file be a little bit smaller now.
xclip is command line interface to X selections/clipboard that is designed to run on any system with any X11 implementation, with xclip, we can not easily manipulate the data on the clipboard under a terminal in X11, no need to open a file for just copy its content anymore, and no need to move the mouse to select the output and copy it anymore. Except xclip, there is also a similar program called xsel, google it if you are interested in.
這項更新目前已經有測試版可以玩了，正式的版本預計在今年夏天的 Windows 10 年度更新釋出，之後就會在 Windows 10 上面有一個完整的 Ubuntu user space 子細統，不但 Linux 上常見的 utilities 如 grep, sed, awk 等工具未來都可以直接跑在 Windows 10 上，甚至 Debian / Ubuntu 在使用的套件管理系統 apt 也都可以直接使用，不論是對於使用者或是開發者都提供了更大的彈性以及便利性，同時代表未來 Windows 對 Linux 或其他原先只能跑在 unix-like OS 的專案會更加的友善。