You may have come across ExifTool while searching for an image recovery software. Well, ExifTool does more than that. It\'s a open source program for reading, modifying, and manipulating images, videos, audios and PDF metadata. Metadata are the additional data added to multimedia files. For example, the metadata of photographs are the additional data like the name of the device, the resolution of the image, the location the image was taken at, the date of capture and modification and more.
首发时间: 2015年12月9日. 04,and Linux For Creative Humans. See the Gaussian 03 documentation for details. We’ll be installing Autodesk EAGLE on the latest release of Ubuntu, version 16. In this article.
ExifTool supports several metadata formats including EXIF, GPS, XMP, GeoTIFF, Photoshop IRB, ID3, FlashPix. Your camera writes EXIF (Exchangeable image file format) and we\'ll be focusing on images in this article, but note that ExifTool can be used to modify the metadata of any file. Also, if you need to quickly and safely copy, move, rename, extract previews or modify multiple images at once, ExifTool is what you need.
By the end of this article, we\'ll know how to install ExifTool on Ubuntu / CentOS and manipulate metadata of files. I\'ll be using CR2 (Canon raw files) format in this article, and that\'s perfectly fine. Modify the required parts of the commands used in this article to make your work.
Installing ExifTool
In this section, we\'ll be installing ExifTool on Ubuntu and other Linux distributions
On Ubuntu
You can install ExifTool on Ubuntu using the apt utility.
From Source
You can compile and install ExifTool from the source on any Linux distro (including CentOS)
You can run ExifTool by running ./exiftool
in the ExifTool directory or proceed to the next step if you want to install it system-wide. You must have Perl installed on your Linux box before compiling.
You can now run ExifTool anywhere in your terminal by typing exiftool
.
Using ExifTool with Metadata
Here are the most common commands you can use with ExifTool:
Contract vanzare cumparare auto germania pdf merge. Showing all the metadata associated with an image
In this example, we run exiftool against an image named \'IMG.CR2\' and we got a friendly metadata ranging from file Modification date, Image Width and Height, Color components to Megapixels.
If you want the same metadata, but instead of using readable metadata names like \'Modify Date\', you want the names you need to use when you\'ll use in actual ExifTool commands, use the -s
options. So instead of \'File Name\' you see \'FileName\', etc.
Viewing Specific Metadata Properties of a File
Instead of using the previous command to view all the metadata, you can specify metadata property name before the image name to see the exact data. In this example, we\'ll extract the data for RedBalance, FileType, ShootingMode, and HDR for an image.
Extracting the Preview Image Embedded in Raw Files
Just in case you have a corrupted image, you can attempt extracting preview image or even the thumbnail using this command:
The -b
option tells exiftool to output data in binary format and extract.jpg is the destination file of the new image created. You can replace -PreviewImage
with -ThumbnailImage
if you want a thumbnail instead.
Moving or Copying Image Files into Folders by Year and Month
If you have several images you want to move them into new directories by year, month, or even days, you can easily get this done using exiftool in the example below:
The example above copies the old images into new folders based on their year and month. The various parameters are explained below.
-o
copies all the files and leave the source files in place. Removing this option will move them instead of copying them
-Directory<CreateDate
moves the images to their new destination folders using the image creation date
./NewImages/%y/%y%m
is the relative path to the folders the images to be copied to with the subfolders named after the year and then yearmonth.
-r
repeats the process recursively over the source folder and it\'s subfolders.
./OldImages
is the source folder where the entire operation begins from and the original images are kept.
We\'ll use the tree
command to see the folder structure of the new arrangement of the images we manipulated. We can see the images are moved into a new folder with the year and then yearmonth subfolders.
Renaming Image Files According to their Creation Date
The following command renames all \'CR2\' (Canon) raw files, in current folder and its subfolders, according to the metadata Create Date and Time.
-filename<CreateDate
tells exiftool to rename the images files using their creation data and time
-d
means sets the format for data/time values
%y%m%d_%H%M%S%%-c.%%le
is used to specify the format to use when renaming the file:
%y%m%d_ means the first part of the new file name will be last two digits of the creation year, month and date. The _
puts an underscore before the second part of the filename. %H%M%S
adds the hour, minute, and second of the creation time.
%%-c
adds an incremental copy number if multiple images have the name up to the point of the renaming process. -c
just puts a dash before the copy number.
.%%e
keeps the original file name extension. If you want your extensions as lowercase or uppercase, use .%%le
or .%%ue
respectively.
-ext CR2
tells exiftool to rename files with only the CR2 extension. To rename all image files in the source folder, don\'t specify any extensions.
-r
repeats the process recursively over the source folder and it\'s subfolders.
./RenamedImages
is the relative path to the folder holding all your images to be renamed.
We\'ll use the tree
command again to compare our original file names in OldImages to the new ones in RenamedImages.
.
├── Images
│ └── OldImages
│ ├── IMG_9110.CR2
│ ├── IMG_9111.CR2
│ ├── IMG_9112.CR2
│ ├── IMG_9114.CR2
│ ├── IMG_9115.CR2
│ ├── IMG_9116.CR2
│ ├── IMG_9117.CR2
│ └── IMG_9118.CR2
└── RenamedImages
├── 170827_184715.CR2
├── 170827_184726.CR2
├── 170827_184736.CR2
├── 170827_184800.CR2
├── 170827_184821.CR2
├── 170827_184848.CR2
├── 170827_184853.CR2
└── 170827_184855.CR2
ExifTool is a very powerful tool for manipulating file metadata. There are several applications and as expected, we couldn\'t add all the options. What did we miss? Tell us in the comments section now.
Dear Sci/Eng community, I\'ve been trying to install a program to build molecules with the ability to convert to various file types. After trying to avoid it, I decided to install Gaussian and GaussView (\'09) and this is my attempt to A) get some help doing so, B) put out some information on how to go about this task.
Before I get into any specifics, I should also point out there is a very nice thread on this subject on a different linux forum:
http://www.linuxquestions.org/questi..e-10-a-467329/
and some very skeletal instructions from Gaussian:
www.gaussian.com/g_tech/install/g09bin.pdf
Ok, first, here is the platform I\'m starting out with:
I received a disk with the following contents:
From this website:
www.gaussian.com/g09_plat.htm
It doesn\'t look like there is anything else that I need (I have already made sure that the gfortran-4.4 and gcc-4.4 are up-to-date), but there\'s not much information on my particular system. It looks like most of those systems listed are relevant only to MPI installations.
After entering the \'C' shell (by typing /bin/csh), I set the mntpnt to be where I had copied the files from the CD into, after which I set the g09root to be a directory where I will be able to find Gaussian:
I then tried to cd into the directory, but since I had not created it, I got the predictable error, and the easy fix:
The one thing that I found that the instructions had incorrect was that the directory for the source code to be untarred in the line:
was actually in the directory that would be accessed with the following command (notice the /Source inserted):
then
This is the point I\'m at now. I\'m not sure if I\'m missing something, but I simply cannot execute the code. In fact, I don\'t think the ./bsd/install script actually did anything (read it yourself and let me know if I\'m wrong). I don\'t think there is an executable that came out of the install process.
If anyone has any ideas, I\'m listening. Otherwise, hopefully I\'ll figure out what these makefiles do, or how to get them to \'make\' gaussian.
You may have come across ExifTool while searching for an image recovery software. Well, ExifTool does more than that. It\'s a open source program for reading, modifying, and manipulating images, videos, audios and PDF metadata. Metadata are the additional data added to multimedia files. For example, the metadata of photographs are the additional data like the name of the device, the resolution of the image, the location the image was taken at, the date of capture and modification and more.
首发时间: 2015年12月9日. 04,and Linux For Creative Humans. See the Gaussian 03 documentation for details. We’ll be installing Autodesk EAGLE on the latest release of Ubuntu, version 16. In this article.
ExifTool supports several metadata formats including EXIF, GPS, XMP, GeoTIFF, Photoshop IRB, ID3, FlashPix. Your camera writes EXIF (Exchangeable image file format) and we\'ll be focusing on images in this article, but note that ExifTool can be used to modify the metadata of any file. Also, if you need to quickly and safely copy, move, rename, extract previews or modify multiple images at once, ExifTool is what you need.
By the end of this article, we\'ll know how to install ExifTool on Ubuntu / CentOS and manipulate metadata of files. I\'ll be using CR2 (Canon raw files) format in this article, and that\'s perfectly fine. Modify the required parts of the commands used in this article to make your work.
Installing ExifTool
In this section, we\'ll be installing ExifTool on Ubuntu and other Linux distributions
On Ubuntu
You can install ExifTool on Ubuntu using the apt utility.
From Source
You can compile and install ExifTool from the source on any Linux distro (including CentOS)
You can run ExifTool by running ./exiftool
in the ExifTool directory or proceed to the next step if you want to install it system-wide. You must have Perl installed on your Linux box before compiling.
You can now run ExifTool anywhere in your terminal by typing exiftool
.
Using ExifTool with Metadata
Here are the most common commands you can use with ExifTool:
Contract vanzare cumparare auto germania pdf merge. Showing all the metadata associated with an image
In this example, we run exiftool against an image named \'IMG.CR2\' and we got a friendly metadata ranging from file Modification date, Image Width and Height, Color components to Megapixels.
If you want the same metadata, but instead of using readable metadata names like \'Modify Date\', you want the names you need to use when you\'ll use in actual ExifTool commands, use the -s
options. So instead of \'File Name\' you see \'FileName\', etc.
Viewing Specific Metadata Properties of a File
Instead of using the previous command to view all the metadata, you can specify metadata property name before the image name to see the exact data. In this example, we\'ll extract the data for RedBalance, FileType, ShootingMode, and HDR for an image.
Extracting the Preview Image Embedded in Raw Files
Just in case you have a corrupted image, you can attempt extracting preview image or even the thumbnail using this command:
The -b
option tells exiftool to output data in binary format and extract.jpg is the destination file of the new image created. You can replace -PreviewImage
with -ThumbnailImage
if you want a thumbnail instead.
Moving or Copying Image Files into Folders by Year and Month
If you have several images you want to move them into new directories by year, month, or even days, you can easily get this done using exiftool in the example below:
The example above copies the old images into new folders based on their year and month. The various parameters are explained below.
-o
copies all the files and leave the source files in place. Removing this option will move them instead of copying them
-Directory<CreateDate
moves the images to their new destination folders using the image creation date
./NewImages/%y/%y%m
is the relative path to the folders the images to be copied to with the subfolders named after the year and then yearmonth.
-r
repeats the process recursively over the source folder and it\'s subfolders.
./OldImages
is the source folder where the entire operation begins from and the original images are kept.
We\'ll use the tree
command to see the folder structure of the new arrangement of the images we manipulated. We can see the images are moved into a new folder with the year and then yearmonth subfolders.
Renaming Image Files According to their Creation Date
The following command renames all \'CR2\' (Canon) raw files, in current folder and its subfolders, according to the metadata Create Date and Time.
-filename<CreateDate
tells exiftool to rename the images files using their creation data and time
-d
means sets the format for data/time values
%y%m%d_%H%M%S%%-c.%%le
is used to specify the format to use when renaming the file:
%y%m%d_ means the first part of the new file name will be last two digits of the creation year, month and date. The _
puts an underscore before the second part of the filename. %H%M%S
adds the hour, minute, and second of the creation time.
%%-c
adds an incremental copy number if multiple images have the name up to the point of the renaming process. -c
just puts a dash before the copy number.
.%%e
keeps the original file name extension. If you want your extensions as lowercase or uppercase, use .%%le
or .%%ue
respectively.
-ext CR2
tells exiftool to rename files with only the CR2 extension. To rename all image files in the source folder, don\'t specify any extensions.
-r
repeats the process recursively over the source folder and it\'s subfolders.
./RenamedImages
is the relative path to the folder holding all your images to be renamed.
We\'ll use the tree
command again to compare our original file names in OldImages to the new ones in RenamedImages.
.
├── Images
│ └── OldImages
│ ├── IMG_9110.CR2
│ ├── IMG_9111.CR2
│ ├── IMG_9112.CR2
│ ├── IMG_9114.CR2
│ ├── IMG_9115.CR2
│ ├── IMG_9116.CR2
│ ├── IMG_9117.CR2
│ └── IMG_9118.CR2
└── RenamedImages
├── 170827_184715.CR2
├── 170827_184726.CR2
├── 170827_184736.CR2
├── 170827_184800.CR2
├── 170827_184821.CR2
├── 170827_184848.CR2
├── 170827_184853.CR2
└── 170827_184855.CR2
ExifTool is a very powerful tool for manipulating file metadata. There are several applications and as expected, we couldn\'t add all the options. What did we miss? Tell us in the comments section now.
Dear Sci/Eng community, I\'ve been trying to install a program to build molecules with the ability to convert to various file types. After trying to avoid it, I decided to install Gaussian and GaussView (\'09) and this is my attempt to A) get some help doing so, B) put out some information on how to go about this task.
Before I get into any specifics, I should also point out there is a very nice thread on this subject on a different linux forum:
http://www.linuxquestions.org/questi..e-10-a-467329/
and some very skeletal instructions from Gaussian:
www.gaussian.com/g_tech/install/g09bin.pdf
Ok, first, here is the platform I\'m starting out with:
I received a disk with the following contents:
From this website:
www.gaussian.com/g09_plat.htm
It doesn\'t look like there is anything else that I need (I have already made sure that the gfortran-4.4 and gcc-4.4 are up-to-date), but there\'s not much information on my particular system. It looks like most of those systems listed are relevant only to MPI installations.
After entering the \'C' shell (by typing /bin/csh), I set the mntpnt to be where I had copied the files from the CD into, after which I set the g09root to be a directory where I will be able to find Gaussian:
I then tried to cd into the directory, but since I had not created it, I got the predictable error, and the easy fix:
The one thing that I found that the instructions had incorrect was that the directory for the source code to be untarred in the line:
was actually in the directory that would be accessed with the following command (notice the /Source inserted):
then
This is the point I\'m at now. I\'m not sure if I\'m missing something, but I simply cannot execute the code. In fact, I don\'t think the ./bsd/install script actually did anything (read it yourself and let me know if I\'m wrong). I don\'t think there is an executable that came out of the install process.
If anyone has any ideas, I\'m listening. Otherwise, hopefully I\'ll figure out what these makefiles do, or how to get them to \'make\' gaussian.