Questions tagged [file-metadata]
Questions about exacting or editing the metadata (creation-date, modified, author etc.) of a file.
85
questions
2
votes
0
answers
34
views
File Creation Date Inconsistent Between Windows and Linux
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 ...
1
vote
1
answer
71
views
Set the system attribute on files exported with Samba
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 ...
2
votes
3
answers
415
views
Backup and restore timestamps of files/directories?
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-...
1
vote
0
answers
36
views
does picard delete embed art?
I am on archlinux and using picard to edit my tags.
So far I haven't been able to find a way to remove the embedded album art, does picard even support it?
0
votes
0
answers
45
views
Custom Metaflac Replaygain Level
How do I set a specific replay gain level when using metaflac?
I know to run this command to add a replay gain value:
metaflac --add-replay-gain
And I believe it is also 89 db target. But I do want ...
0
votes
1
answer
30
views
BTRFS: List the Crc's of a file's blocks
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 ...
0
votes
1
answer
89
views
Cannot disable metadata_csum from buildroot configuration
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
...
1
vote
1
answer
67
views
Filesystem with "bubbling" directory size
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 ...
0
votes
0
answers
27
views
Embed arbitrary structured metadata (key-value pairs or XML) into PDFs with XMP?
I have a process that generates PDF files from a source, and another that generates metadata about the same source in XML format. The metadata is structured (multiple levels of elements, innermost ...
0
votes
1
answer
54
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
2
answers
159
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 ...
3
votes
1
answer
256
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
1
answer
206
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, ...
1
vote
0
answers
52
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
2
answers
227
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
1
answer
135
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
2
answers
69
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 ...
3
votes
3
answers
7k
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
1
answer
474
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
1
answer
135
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
1
answer
83
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'...
2
votes
1
answer
1k
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
1
answer
1k
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
2
answers
720
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
1
answer
287
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
1
answer
52
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
0
answers
127
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 ...
2
votes
2
answers
827
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
1
answer
172
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
1
answer
497
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
1
answer
298
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
0
answers
100
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
1
answer
901
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
1
answer
318
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
1
answer
59
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
1
answer
686
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. ...
6
votes
3
answers
7k
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
1
answer
480
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
2
answers
1k
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
2
answers
1k
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
1
answer
67
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 ...
3
votes
1
answer
695
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
...
2
votes
1
answer
1k
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
2
answers
1k
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 ...
20
votes
2
answers
27k
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 ...
8
votes
2
answers
7k
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
1
answer
630
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
1
answer
60
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
1
answer
4k
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
2
answers
404
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 ...