Questions tagged [file-metadata]
Questions about exacting or editing the metadata (creation-date, modified, author etc.) of a file.
116 questions
0
votes
1
answer
99
views
How to insert metadata in audio cd tracks with Linux?
I have created wav files as this
ffmpeg -i 1.wav -codec copy -metadata title="Title1" -metadata author="Author1" -metadata comment="My comment" -y 2.wav
Then I burn the ...
6
votes
2
answers
495
views
Can I use grep or strings to find the previous atime of a file still present on my btrfs?
The metadata of this file which resides on my HDD is written by CoW, therefore can I look for it just by using grep or strings, and the filename?
0
votes
1
answer
63
views
Can I use grep or strings to seach for deleted file name on btrfs?
Months ago, one of my systemd journal files was purged from my btrfs hdd. Because I couldn't use file carving to check if the content is still on the hdd because unfortunately the format is binary and ...
1
vote
1
answer
82
views
Forensics to recover the second-to-last access timestamp of a file on btrfs on HDD
I searched online, to no avail. Is there some way to recover the access timestamp of my file on BTRFS, before the access timestamp which appears currently? Using HDD (not SSD). Please let me know. Is ...
0
votes
0
answers
87
views
Not able to modify inode metadata
I am working on a ext4 file-system tool that aims to delete files such that they are not recoverable later on. My goal is to clear the inode metadata of a deleted file, but despite my efforts, the ...
1
vote
1
answer
139
views
Should we use convert or img2pdf for creating lossless multi-page PDF files out of gray PNM photocopies? And why?
Let's assume that you have 4 scanned pages, created by scanimage -resolution 1200 and postprocessed by GIMP: each page was rotated so that the text lines were horizontal, the bled-through text was ...
1
vote
2
answers
382
views
Copy timestamp and metadata from one file to another
I rotated an MP4-video and in this process lost the correct metadata and timestamp of the file.
Is there a way to copy the metadata and timestamp from the original (not roated) file to the new file. (...
1
vote
1
answer
194
views
EXIF-based CLI renaming/querying tool for video/mp4?
I currently use exiv2 0.28.2 tool to accomplish the same task on my JPEG/TIFF/Raw picture files from the command line. It works really great.
Unfortunately it doesn't work reliably on video/mp4 media ...
-3
votes
2
answers
89
views
Explain to a beginner the meaning of -mtime in simple human language
Of course, I read the meager lines from the manual. I'm still interested in the specifics.
For example, the stat / some_files command
print this:
access 2024 (now)
modified 2022
changeded 2023
...
5
votes
1
answer
193
views
is stat(2) read-after-write consistent with write(2)?
man 2 write states:
POSIX requires that a read(2) that can be proved to occur after a write() has returned will return the new data. Note that not all filesystems are POSIX conforming.
In Linux, is ...
0
votes
0
answers
299
views
macOS Terminal: How do I edit an MP3 file's metadata after renaming?
I have a script using variables already renaming files to the following format:
(track#) - (title) - (artist) - (date).mp3
#! /bin/zsh -
set -o extendedglob
pattern='(#b)*_ \((<0-999>)\)(* )—( *...
0
votes
2
answers
1k
views
Imagemagick, how to print date the photo was taken on the image
Imagemagick 6.9.11-60 on Debian. How to print date & time the photo was taken on the image? (on existing images). I have set this option in camera settings, but it only applies to new photos. The ...
0
votes
1
answer
468
views
Bulk convert from PNG/TIFF to JPG with minimal loss in quality
I need to upload my photos to Shutterfly, but they don't seem to support EXIF data on PNG/BMP images. I need to thus convert to JPG for some prints, but I want to lose as little information as ...
0
votes
1
answer
707
views
How to preserve file creation date when overwriting files?
When I'm overwriting one file with another one, not only it's modification time updates, but also birth time, which is unwanted.
I want to make Dolphin overwrite files that way, so target's birth time ...
1
vote
1
answer
144
views
Convert directory with opus files to CSV or similar?
I have a folder with opus sound files. I would like to convert that folder listing to something I can use in a spreadsheet. I want the result to contain something like file name, length of the sound ...