Skip to main content

Questions tagged [file-metadata]

Questions about exacting or editing the metadata (creation-date, modified, author etc.) of a file.

Filter by
Sorted by
Tagged with
0 votes
1 answer
140 views

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 ...
elbarna's user avatar
  • 14.5k
6 votes
2 answers
503 views

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?
user324831's user avatar
0 votes
1 answer
67 views

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 ...
user324831's user avatar
1 vote
1 answer
84 views

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 ...
user324831's user avatar
0 votes
0 answers
89 views

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 ...
Dhruv's user avatar
  • 1
1 vote
1 answer
150 views

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 ...
AlMa1r's user avatar
  • 1
1 vote
2 answers
420 views

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. (...
user1583209's user avatar
1 vote
1 answer
199 views

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 ...
EnzoR's user avatar
  • 1,023
-3 votes
2 answers
96 views

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 ...
alex099's user avatar
  • 17
5 votes
1 answer
202 views

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 ...
Shivaram Lingamneni's user avatar
0 votes
0 answers
306 views

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>)\)(* )—( *...
Allex Valentin's user avatar
0 votes
2 answers
1k views

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 ...
minto's user avatar
  • 595
0 votes
1 answer
497 views

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 ...
olivarb's user avatar
  • 103
0 votes
1 answer
731 views

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 ...
Velent's user avatar
  • 49
1 vote
1 answer
149 views

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 ...
d-b's user avatar
  • 2,077
6 votes
3 answers
659 views

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 ...
Martin Vegter's user avatar
8 votes
2 answers
2k views

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 ...
user avatar
0 votes
1 answer
145 views

I wish to delete the contents of around 600 folders on my Linux Mint PC but I want to retain the Last Modified Date of the top-most folder as it existed before deleting the files. This would be ...
Mister Chuff's user avatar
0 votes
1 answer
977 views

I have some font file (specifically, a TrueType, .tff, file) which I want to examine. I can run: file myfont.ttf and get something like: TrueType Font data, 15 tables, 1st "OS/2", 24 names, ...
einpoklum's user avatar
  • 11.1k
0 votes
5 answers
6k views

I need to generate a list of all files and directories with their permission and owner e.g. -rw-rw-r-- black www-data foo/ -rw-r--r-- black www-data foo/foo.txt -rw-rw-r-- black www-...
Black's user avatar
  • 2,148
0 votes
1 answer
165 views

I have a big folder containing several folders. When I open the big folder in Nemo, I noticed that the modification date of several of the subfolders was not up to date, even if files they contain ...
Karlo's user avatar
  • 125
-4 votes
1 answer
121 views

In Windows you can simply right-click a media file and edit its metadata - no additional software needed. Why is this ability absent in Linux? Is there some inherent technical limitation in Linux that ...
001121100's user avatar
0 votes
1 answer
628 views

I find the opusenc command (from the opus-tools package in Debian) to edit Opus files metadata. But, according to his man’s synopsis (and other sections in the man) it doesn’t provide a way to edit ...
fauve's user avatar
  • 1,529
2 votes
0 answers
1k views

TL;DR - Looking for a way to edit/add CUSTOM metadata fields to video files without remuxing. I have some media files that I add custom metadata fields to (mostly mkv files downloaded with yt-dlp but ...
zpangwin's user avatar
  • 1,113
0 votes
1 answer
680 views

On my Ubuntu system, I've created a new file prueba.txt using touch prueba.txt. When I show its file statistics using stat prueba.txt, the output is as follows: File: prueba.txt Size: 0 ...
Franklin Pezzuti Dyer's user avatar
6 votes
1 answer
5k views

I need to copy files and preserve all their metadata, including creation date. I found ways to use rsync options to preserve modification date, but I also need the creation date to be the same, and ...
QDelage's user avatar
  • 61
0 votes
1 answer
1k views

I have a gallery folder with multiple images and videos, some of them has their modification date correct, and some of them has the month wrong. I want to make a script that will change all the files ...
user avatar
7 votes
2 answers
5k views

Question I have 2 files: audio.opus (extension also possible: .opus.ogg), cover.jpg. How can I use ffmpeg to put cover.jpg as an embedded "cover" image into audio.opus? Constraints I don'...
Totor's user avatar
  • 21.2k
1 vote
2 answers
2k views

I have been using unix systems the majority of my life. I often find myself teaching others about them. I get a lot of questions like "what is the /etc folder for?" from students, and ...
BitWrecker's user avatar
0 votes
0 answers
1k views

The situation is as follows: I have a (very old) filesystem - it was created in 2006. It started off as ext2, got migrated to ext3, then to ext4, then to ext4 with 64bit. I recently enabled ...
lfabio's user avatar
  • 131
0 votes
1 answer
385 views

I am currently doing a comparison of fsync vs fdatasync in linux, to see how much more data is written to the disk in fsync. I have tried using iotops and checked /proc//io file to check if it ...
Anoop Kulkarni's user avatar
0 votes
1 answer
169 views

DISCLAIMER: I am not a developer and don't have much knowledge of coding; however, what I want to do seems simple enough. I use Pro Tools and want to run a terminal script in Mac OS to be able to scan/...
zjohnson5's user avatar
2 votes
1 answer
910 views

Is there a tool that allows to index (search) files based on their metadata on linux? I've search a bit and found (here) that there are several tools that allow file indexing on linux: Recoll mlocate ...
cglacet's user avatar
  • 121
2 votes
0 answers
322 views

I need to get the creation date for some files on a network share. When accessing the file on Windows it shows the correct date. When I switch to Linux and run the stat command on the same file it is ...
Caleb's user avatar
  • 21
1 vote
1 answer
1k views

I have a Linux server that exports Samba shared folders to a Windows client. From a Linux shell, I need to set the system attribute. On Windows, I would run attrib +s folder How can I do this on the ...
Pol Hallen's user avatar
  • 2,247
2 votes
3 answers
18k views

I'm in the root folder and need to find the last 10 modified files of just this folder. Every time I put -mtime like my lecturer said I get 10 days. I need the last 10 modified files, not the last 10 ...
Samuel Mccartney's user avatar
2 votes
3 answers
3k views

We need to backup the a/c/mtime-stamps of files and directories, and have the ability to restore them if necessary. An example command to back up could be: $ timestamp backup --all-stamps --incl-dir-...
leetbacoon's user avatar
0 votes
1 answer
132 views

How can I output the Crc's of a file's blocks? I made a copy of a file using reflink, and I want verify if the original and copied contents are still the same. My intent is to compare the Crc's on ...
Rucent88's user avatar
  • 1,920
0 votes
1 answer
533 views

I'm trying to boot STM32MP157A-DK1 with a Buildroot image that I made but I got this error and I cannot disable the metadata_cesum from the Buildroot configuration. I tried ...
ELmehdi's user avatar
  • 11
1 vote
1 answer
328 views

This is just my comment from How to cache or otherwise speed up `du` summaries? formulated as a question of its own: Are there any extended discussions about creating a filesystem in which the total ...
smheidrich's user avatar
0 votes
1 answer
348 views

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 ...
noam steiner's user avatar
0 votes
2 answers
1k views

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 ...
hyhno01's user avatar
  • 67
3 votes
1 answer
1k views

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 ...
Colin 't Hart's user avatar
1 vote
1 answer
1k views

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, ...
Nick2dna's user avatar
1 vote
0 answers
180 views

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 ...
usretc's user avatar
  • 728
2 votes
2 answers
693 views

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 ...
red_trumpet's user avatar
2 votes
1 answer
514 views

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 ...
henry's user avatar
  • 964
0 votes
2 answers
186 views

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 ...
Hisacro's user avatar
28 votes
4 answers
34k views

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 -...
Toothrot's user avatar
  • 3,725
1 vote
1 answer
2k views

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}&...
starbeamrainbowlabs's user avatar