Questions tagged [file-metadata]
Questions about exacting or editing the metadata (creation-date, modified, author etc.) of a file.
80
questions
0
votes
1answer
27 views
How to set modified file's metadata to equal the created_on value of recovered images?
I recovered images from an android LOST.DIR folder.
The data recovered successfully, now I'd like to set the modified timestamp of the file to be equal to the created on value of the binary data.
I'm ...
0
votes
2answers
55 views
Extract jpg property 'keyword' from terminal
Using Ubuntu 20.04, I can right-click on a jpg and select 'properties'. A window will open containing the tab 'image'. In this tab, there is a section called 'Keywords', the content of which I would ...
1
vote
0answers
43 views
Question marks in ls metadata output?
I was monitoring a directory containing downloads from Google Chrome with ls -la and got this in the output:
-????????? ? ? ? ? ? 'Unconfirmed 784300.crdownload'
I've never ...
1
vote
1answer
69 views
Since when do Unix systems support birth/creation time (btime/crtime) for files and directories?
Does anyone know when Unix supports birth/creation time stamps for files and directories? If possible also when first file manager (GUI) displays it by default for users.
For comparison with Windows, ...
0
votes
0answers
37 views
Output webp metadata with Exiv2
The following command finds the exif comment value in a bunch of webp images:
exiv2 -ps *.webp | sed -n "/Exif comment/{ s/^.*: //; p; }"
If 20 webp images have identical exif comment ...
1
vote
0answers
20 views
tar / pack `a-r` “unreadable” files
If there are files unreadable even to the owner (chmod a-r), tar and other tools will throw errors when creating an archive. However, these files could be updated with chmod u+r before archiving, and ...
1
vote
2answers
62 views
pdftk does not update PageLabel metadata
I realised that pdftk does not update the PageLabel metadata, when using update_data_utf8. I've got a pdf file (let's call it file.pdf), which contains the metadata
PageLabelBegin
PageLabelNewIndex: 1
...
1
vote
1answer
42 views
Is it possible to search for a string and replace it with another string in the title tag of multiple mp3 files?
I would like to
search for "ytversion",
replace it with "mqversion"
in the title tag
of multiple mp3 files. I would like this process not edit/delete any other parts of the ...
0
votes
2answers
34 views
ID3tag - Script for extracting metadata from filename
I have directory of recording with
foo - bar-202009.opus
unix - tilde-2020se.opus
stack - exchange-29328f.opus
I trying to set meta from file name
for foo - bar.202009.opus
(there are some ...
0
votes
0answers
19 views
Ubuntu default tool to read audio file properties
I am writing a script to read an audio files metadata properties in Ubunutu.
This answer has suggestions for some nice tools to give a detailed list of metadata attributes. That said, I only care for ...
1
vote
1answer
393 views
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 -...
0
votes
1answer
78 views
ffmpeg not copying FRONT_COVER image metadata during conversion
When doing an mp3 ā mp3 (or flac ā mp3) conversion, -map_metadata can be used to copy metadata from the input file to the output file:
ffmpeg -hide_banner -loglevel warning -nostats -i "${source}&...
0
votes
0answers
20 views
how to edit matroskaās meta data files?
With mp3 we could use id3v2 commande, with flac we could use metaflac.
But what tool exist for Matroska files (mkv, mka, or mks)? Especially to add data like TITLE, AUTHOR, YEAR, ARTIST, ALBUM, etcā¦
0
votes
1answer
54 views
How to I remove the all meta-data, identify objects, embedded-data, non-pdf/embedded binary, identity(IDs), embedded-character etc in PDF file?
I want convert the PDF to only TEXT(as unicode) & IMAGE based PDF.
So the pdf document should consist only of images and text. I want to do this in a GNU/Linux environment, it would be better for ...
0
votes
1answer
39 views
How to I set document ID or ID to PDF file via terminal?
Hello I am writing a bash script, this script must give ID to pdf file. How do I solve the this, is there a way?
Example as using bash shell.
Document ID is:
$ exiftool example.pdf | grep 'Document ID'...
0
votes
1answer
278 views
Filesystems which allow storing custom metadata on files?
Linux already stores a lot of metadata with files. e.g. owner, permissions, file's name, checksums (in some file systems), along with essential data like location on disk.
Is there any filesystem (e....
0
votes
0answers
45 views
How to add custom tags (metadata) to all folders within a folder?
I'd like to add new tags to all folders within a folder.
For example for a movies folder you might want to have the tags "Genres" and e.g. "Imdb rating" on all the folders within that folder.
Is ...
0
votes
1answer
209 views
Are file modification times in UTC or in the local time zone?
If I touch a new file, I see that its modification time is showing as the current time in my local time-zone rather than in UTC. If I were to copy that file to a machine that's in another time-zone, ...
0
votes
2answers
216 views
How do I find all sqlite databases inside a bunch of files without file endings?
I have a bunch of files that have just hashes as names and no file endings. (It's an iPhone backup to be precise.) I know there are SQLite databases amongst these files.
How do I find them?
0
votes
1answer
127 views
Why do inode offset values appear to exceed inode size?
I'm studying the Ext4 filesystem and am confused by the 128 byte inode size because it appears to conflict with the last metatdata value it stores which is supposed to be offset at byte 156.
In this ...
0
votes
1answer
39 views
Unix/Linux backup account that does not update LAST ACCESS files metadata
I'm actually wondering if on Unix/Linux systems, there is a equivalent of "Backup Operators" on Windows.
On Windows, being member of this group allows to open files without updating their LAST ACCESS ...
1
vote
0answers
65 views
What does this 'exif:GPSInfo: 8253' mean in ImageMagick identify command?
Totally love the tool and documentation and currently trying to use EXIF data to geotag my own pictures. Just wondering what this exactly means:
exif:GPSInfo: 8253
It pops up in the exif section ...
1
vote
1answer
187 views
Batch set MP4 create date metadata from filename
On a Linux system,
I have a bunch of MP4 files named like 20190228_155905.mp4 but with no metadata. I've previously had a similar problem with some jpg's which I solved manually with
exiv2 -M"set ...
2
votes
1answer
72 views
Annotating any files
I have had this problem for a very long time, had several discussions with friends, and tried searching relating info online. All efforts were in vain so I decide to give a shot here.
I have lots of ...
0
votes
1answer
213 views
Why does a file's Inode number change and nothing else?
Today I noticed that tripwire thinks that some Apache configuration files changed yesterday. I know I did not make any changes to those files.
Looking at the info, it shows that only the Inode number ...
0
votes
1answer
218 views
ntfsclone, metadata-only cloning…why?
Been reading the ntfsclone manual but I still can understand and see the point of doing a Metadata-only cloning? What is the point of this, when can it be valuable?
I assume "metadata" is just ...
4
votes
0answers
74 views
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 /...
0
votes
1answer
593 views
How to compress a directory into a tar without metadata header in the files?
When I try to compress the directory into a .tar format it creates successfully, but the tar files contains extra lines(Header/Metadata). I have .csv file in a folder and i need to convert that folder ...
1
vote
1answer
274 views
PDF metadata editor - GUI - FEDORA
I can't find a graphical pdf metadata editor for Fedora (Fedora 30). I found "PDFMtEd" which doesn't work in Fedora because it needs "exiftool" but I can't install that.
Is there any solution to this?...
1
vote
1answer
53 views
Under what circumstances would a user/superuser change the permission of a file for its owner? [closed]
What I understand is, you could change the permission of a file for its owner by, say
chmod u=0 file.txt
In this case, we removed r, w and x permission for the owner of this file.
But under what ...
0
votes
1answer
401 views
How to strip all metadata from any file type? [closed]
I am looking into contributing to software for whistleblowers, and need the ability to best support privacy of their submissions. Which would include stripping all metadata from the files they upload. ...
4
votes
3answers
3k views
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.
0
votes
1answer
343 views
Tag files based on file name if no Title metadata exists
Is there a way using the command line to automatically fill in empty "Title" fields of the tags of music or videos with the file name? I have tried using Beets, but the only way to tag things based on ...
1
vote
2answers
704 views
How can I fetch file metadata on cifs mounted folder?
In our company we have a shared Windows folder. If I access it from Windows, I can pop up Properties menu of a file and find its metadata: who created it, last access times and so on.
On linux I have ...
1
vote
2answers
743 views
Bash script for writing metadata attributes of files into separate text files
I tried to code a bash script that loops through a given directory and all its subdirectories and extracts metadata attributes with the mdls command into separate text files. Since I have a lot of ...
0
votes
1answer
50 views
HTTP client saving download metadata
I am looking for a way to download files from the Web, while saving download metadata, like the requested URI, the returned status code and maybe even TLS certificate information (server certificate ...
2
votes
1answer
484 views
Diffing for metadata differences
Is there are way to use utility like diff to find the difference in metadata of two identical file hierarchies? If I have two identical file structures like
root_folder/
file1
file2
...
1
vote
1answer
919 views
Mat: Namespace Poppler not available
I've installed MAT: Metadata Anonymisation Toolkit. When I tried to run mat, I got following error:
user@user ~ $ mat
Traceback (most recent call last):
File "/usr/bin/mat", line 10, in <module&...
5
votes
2answers
965 views
Extract evince's bookmarks from a pdf and add them to another
Using evince I bookmarked a pdf file (in ubuntu 16.04). I want to copy these evince's bookmarks. I found they are stored as metadata and can see them using
gvfs-info myfile.pdf
But I found no way ...
15
votes
2answers
20k views
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 ...
7
votes
2answers
5k views
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.
...
2
votes
1answer
441 views
How to adjust the Exif timestamp of a photo using the date in its name
I'm trying to get the filename of a screenshot on an Android phone (which contains the date it was taken) as a string and add it to the Exif timestamp of that screenshot (which doesn't seem to have ...
1
vote
1answer
49 views
Why are the modification dates set to when files were modified by developers and not when they were modified locally due to an update?
Why are the modification dates set to when files were modified by developers and not when they were modified in Debian?
I'm using Debian 9.1 with KDE and with the help of tripwire I noticed some ...
1
vote
1answer
3k views
Rsync doesn't preserve UID/GID even w/-a and --numeric-ids
I'm trying to use rsync to back up remote files, but the UIDs/GIDs on the remote system are different from what I have locally. No matter what I try, all my local files are "opux/opux" both of which ...
-2
votes
2answers
261 views
Can I create a file without metadata? [closed]
As a follow up of my related question, is it possible to create a file without metadata? Or alternatively, can I remove all metadata of a given file?
This is quite a "philosophical issue". If this ...
2
votes
0answers
528 views
How do I get file metadata in Dolphin?
On Fedora 26 KDE I don't get any metadata for files (video/audio duration, picture size, etc.) in Dolphin. I have tried various settings from this, particularly this, but to no avail. Can anyone let ...
35
votes
5answers
11k views
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 ...
1
vote
0answers
914 views
Keep metadata or edit metadata with tar
I have a tarball. This tarball containsāof courseāvarious files and directories. When I extract the tar, some of these files already exist, while others don't.
What I would like to know is this: how ...
0
votes
1answer
287 views
How do I get song names and artists from mp3 files in a dir?
I have a recovered dir with mp3 and flac files. The names were lost. So all I got is a mess of around 30,000 files iwth names like f30818304.flac
I played some and see that the tags in the files are ...
1
vote
0answers
219 views
How do I view and modify metadata of audio and video files?
I want to be able to set metadata, primarily to files in my music library, so that I can use it like tags, to sort them as needed (directory-based organization is, I think obsolete).
How do I do this?...