Questions about exacting or editing the metadata (creation-date, modified, author etc.) of a file.
Questions tagged [file-metadata]
103 questions
83
votes
2 answers
Discovering metadata about a PDF
Suppose I have a PDF and I want to obtain whatever metadata is available for that PDF. What utility should I use?
I find the piece of information I am usually most interested in knowing is the paper size, something that PDF viewers usually don't…
Faheem Mitha
- 34,649
- 32
- 119
- 183
53
votes
6 answers
Change file created date from JPEG EXIF metadata
When uploading to an ftp site, the original file create date seems to be lost, and I get the upload date instead. However, the Exif data in the file is correct. Is there a tool to batch change the created date from the Exif date?
Finn Ove
- 531
- 1
- 4
- 3
49
votes
3 answers
Get metadata from a video in the terminal
I am writing a bash script that I want to echo out metadata (length, resolution etc.) of a set of videos (mp4) into a file.
Is there a simple way to get this information from an MP4 file?
Questionmark
- 3,885
- 8
- 37
- 57
48
votes
7 answers
How to strip metadata from image files
[EDIT #1 by OP: Turns out this question is quite well answered by exiftool creator/maintainer Phil Harvey in a duplicate thread on the ExifTool Forum]
[EDIT #2 by OP: From ExifTool FAQ: ExifTool is not guaranteed to remove metadata completely from a…
Jeff
- 681
- 1
- 5
- 8
35
votes
5 answers
Can I run out of disk space by creating a very large number of empty files?
It is well-known that empty text files have zero bytes:
However, each of them contains metadata, which according to my research, is stored in inodes, and do use space.
Given this, it seems logical to me that it is possible to fill a disk by purely…
luchonacho
- 793
- 2
- 11
- 28
27
votes
3 answers
How to get the DPI of an image file (PNG)
If I export an image with lets say 300 DPI and I read out its meta-info with any application that can do it (like file, exiftool, identify,mediainfo etc.), I always get a value showing Image-Width and Image-Height.
In this case: 2254 x 288
how do I…
nath
- 5,430
- 9
- 45
- 87
17
votes
2 answers
How to print Metadata of a file with the help of command-line?
I am using Trisquel 7.0 with Nautilus 3.10.1 installed.
Whenever I display properties of a file, I've one file-specific tab like: Image,Audio/Video,Document etc. which displays special information about it.
Example for a Image:
Example for a PDF…
Pandya
- 23,898
- 29
- 92
- 144
12
votes
3 answers
Removing metadata from a PDF
What commands must I issue irreversibly to remove all metadata
from foo.pdf? Assume embedded images are already clean.
I got the impression from
https://gist.github.com/hubgit/6078384
that
exiftool -all:all= foo.pdf
qpdf --linearize foo.pdf…
Toothrot
- 3,255
- 3
- 24
- 47
9
votes
2 answers
cp losing file's metadata
I have an Asustor NAS that runs on Linux; I don't know what distro they use.
I'm able to log in it using SSH and use all Shell commands. Internal Volume uses ext2, and external USB HDs use NTFS.
When I try to use cp command to copy any file around,…
Hikari
- 242
- 2
- 9
8
votes
1 answer
How to strip GPS location data from an MP4 video file?
I have a video file captured with a smartphone.
I want to remove the GPS location data written into it, leaving all other information intact. I tried some sed commands, but nothing seems to work.
unfa
- 1,715
- 3
- 23
- 34
7
votes
2 answers
How to automatically set the modification (or creation) time of a Quicktime video file based on its meta data?
In a shell, how to automatically set the modification (or creation) date and time of a Quicktime video file based on the metadata in the file with a single command (or a single command line)? For JPG files, we have exiv2 -T, but is there a similar…
AlMa0
- 183
- 6
7
votes
0 answers
Space efficiency of Btrfs reflinks vs hardlinks
A webpage referenced by the Wikipedia article on Btrfs claims that (emphasis mine)
[Btrfs] reflinks have the same use as hardlinks, but are more space efficient.
I thought that the opposite was true—that hardlinks are more space-efficient because…
Vincent Yu
- 496
- 4
- 11
6
votes
3 answers
Where is metadata for PDF files? Can I insert metadata into any PDF file?
I have many files of music; with the program mp3Tag, I had organized all of it. I have the correct metadata as it allows. I am looking for a free software that does the same, but for PDF files.
Jaaziel Aguirre
- 71
- 1
- 3
5
votes
2 answers
evince opens pdf in "presentation mode"
when opening a particular pdf file, evince decides to open it in "presentation mode".
I see in the man page that evince has -s option to open in presentation mode, but I did not invoke it. I am simply opening all pdfs as evince file.pdf
Somehow…
400 the Cat
- 819
- 4
- 37
- 85
5
votes
0 answers
Why does the touch command work in one directory, but not in the other?
On the same mount, the touch command sometimes doesn't work
Using different directories on the same mount, the touch command gives different results
**bob@syno ~ % ll -d /volume1/media ; ll -d /volume1/doorgeef
drwxr-xr-x 1 root root 296 2019-05-19…
ambrox
- 59
- 2