Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [file-metadata]

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

0
votes
1answer
33 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
28 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
45 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
72 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. ...
1
vote
3answers
342 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
85 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 ...
0
votes
2answers
170 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
231 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
17 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 ...
1
vote
1answer
144 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 ...
0
votes
1answer
272 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
384 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 ...
3
votes
2answers
8k 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 ...
6
votes
2answers
2k 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. ...
1
vote
1answer
179 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
43 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
2k 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
107 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
356 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
8k 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
489 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
148 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
202 views

How to use awk, gsub to write metadata? [closed]

I have patterns like this in one metadata container: Rolling Stones / Undercover of the night I want to read, split and write in a different tag. My approach, to get the sub-string: metaflac 02*....
1
vote
0answers
96 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?...
3
votes
1answer
146 views

Shell script to add different GPS data to series of photos

I have a drone that I used to make a flight movie, and I am going to use this footage to build a DEM (digital elevation model) of the topography I was filming. I can extract frames from the movie ...
4
votes
1answer
2k views

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.
4
votes
0answers
305 views

What is a correct way to backup tree structure and file metadata of a partition?

I have disk with non-critical data on it (mostly movies, music, pictures, text files). Data is not important enough for me to back it up. However I'd like to keep a backup of the "metadata", ie for ...
2
votes
1answer
161 views

Fedora 15 updates

I have a dual booted system, and its been years since I have used the linux side. I am running Fedora15 and am trying to upgrade. I have tried yum install preupgrade and I get the error message ...
-1
votes
1answer
99 views

View detailed MetaData on old DOS files

I'm trying to get detailed information on how to view metadata of files recovered from a faulty drive, on Linux Mint 18. The files are from an old computer running Windows 2000 and DOS. I've tried ...
9
votes
5answers
6k views

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 ...
3
votes
1answer
2k views

Add a new custom metadata tag

I know how to change a tag value, and how to extract tag values of a file from its metadata, and yes we have great tools like id3tag, exiftool, ffmpeg and etc. But I need to add a completely new tag, ...
1
vote
0answers
65 views

How to use rsync to restore folder time meta-data

A large amount of data was transferred from one NAS to a new NAS via windows explorer because of speed considerations. An attempt to use rsync was half-successful and restored the dates of files, ...
0
votes
1answer
1k views

Will rsync restore original file metadata?

Goal: synch a large number of large files (filesize>500MB) from one NAS (WD Mycloud) to another. rysnc is available on both. Both are connected via a Gigabit switch. NAS files can be moved with ...
4
votes
1answer
664 views

Shell Script reading metadata of a file and then mv each to a new directory

I'm using RHEL7 on my Server, and I have a directory containing thousands of myriads of mixed .mp3 files and I need a script helping me to clean up that chaos. Let’s pretend 10 of my songs are for ...
1
vote
0answers
580 views

How can I remove the embedded preview in an EPS file without destroying all metadata?

I have several EPS files data exported from Adobe Illustrator, which apparently embeds a TIFF preview so that the EPS file is previewable. This is undesired, because I use these files in XeLaTeX, ...
2
votes
1answer
103 views

Searching Files according to PNG Meta-Tags

I want to search for PNG's in a (sub-)folder structure with the meta tag software set to the value GNOME::ThumbnailFactory and delete them with a single bash command. Have the story behind it, you ...
3
votes
0answers
722 views

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 ...
2
votes
1answer
1k views

Can Clementine music player fetch CDDB/FreeDB data?

A lot of players can get CDDB info about Audio CDs, but I have never seen that in Clementine. Given the prestige and other qualities of this player It's hard to believe that it lacks this feature. ...
1
vote
0answers
131 views

Snapper - how to undo changes, preserving timestamps?

I've damaged modification dates of files on my drive and I wanted to revert them using snapper snapshots but it doesn't seem to work, snapper only reverts content of files not modification dates. ...
1
vote
1answer
340 views

Deadbeef audio player does not retrieve online (freedb, CDDB) info about CD tracks

Many Linux players (like Audacious, Banshee, Amarok, Exaile) can easily access audio CDs tracks info (names and other metadata) but Deadbeef cannot, although it has a cdda plugin that should do just ...
2
votes
1answer
1k views

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 ...
0
votes
1answer
143 views

Modifying the search result of grep

Normally, we can search a keyword in a list of pdf files using the following command: for file in *pdf; do pdftotext "$file" - | grep keyword done Now, from the search result, If I want to find the ...
0
votes
1answer
193 views

How to add meta information to aid menu search on Linux Mint 17.1

I was wondering whether and how it is possible to add meta information to the application found when using the search box. Every time I intended to use for instance Okular I'd type 'PDF' to search for ...
1
vote
0answers
199 views

keep same inodes metadata with rsync or ignore metadata with du

I'm trying to synchronize two folders from a remote computer. I want to use rsync to send the folder, and du to check if the space used is identical on the remote computer. The problem is even with a ...
1
vote
0answers
80 views

How can you recover from disk corruption on a backup drive whilst maintaining all hard links?

So, I have a scenario that is similar to How to copy directories with preserving hardlinks? that I wish to use however I have corruption from the backup hardlink source. My Scenario: 1. I backup my ...
0
votes
2answers
376 views

Extract metadata from xm s3m mod it tracker music file etc. to command line

I'm trying to extract the metadata from tracker music files. The only tool that was able to provide at least something $ file aa_arofl.xm aa_arofl.xm: Fasttracker II module sound data Title: "...
3
votes
1answer
524 views

Why does chmod succeed on a file when the user does not have write permission on parent directory?

I am trying to understand file/dir permissions in Linux. A user can list the files in a directory using cd test ls -l Even if the user issuing above commands does not have read, write or execute ...
1
vote
2answers
374 views

Copy EXIF meta data from the Keywords to the Description on a huge amount of photos in sub folders

I have over 80,000 photos that have been given proper EXIF keywords but Google Drive requires data in the Description for it to be searchable in their online app. I need to copy the contents of the ...
0
votes
2answers
433 views

Use/See whole the flash memory space

When we bought a N Giga Byte flash memory, the free space that the OS provide for us, is less than N GigaBytes. For example, for a 2 GB flash memory, total space that we can use, is 1.86 GB. As far ...
26
votes
2answers
24k views

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 ...