Tag Info

Hot answers tagged

31

There is a way to know the creation date of a directory , just follow these steps : Know the inode of the directory by ls -i command (lets say for example its X) Know on which partition your directory is saved by df -T /path command ( lets say its on /dev/sda1 ) Now use this command : sudo debugfs -R 'stat <X>' /dev/sda1 You will see in the ...


28

@Nux found a great solution for this which you should all upvote. I decided to write a little function that can be used to run everything directly. Just add this to your ~/.bashrc. get_crtime() { for target in "${@}"; do inode=$(stat -c '%i' "${target}") fs=$(df --output=source "${target}" | tail -1) crtime=$(sudo debugfs -R ...


28

avprobe from the package libav-tools is pretty good. Sample output avprobe somefile.mp4 avprobe version 0.8.4-4:0.8.4-0ubuntu0.12.04.1, Copyright (c) 2007-2012 the Libav developers built on Nov 6 2012 16:51:33 with gcc 4.6.3 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'somefile.mp4': Metadata: major_brand : avc1 minor_version : 0 ...


27

Give exiftool a try, it is available from the package libimage-exiftool-perl in the repositories. As an example, If you have a pdf file called drawing.pdf and you want to update its metadata, Use the utility, exiftool, in this way: exiftool -Title="This is the Title" -Author="Happy Man" -Subject="PDF Metadata" drawing.pdf For some reason the Subject ...


17

If you have a Last.fm account, try the Last.fm Fingerprint Extension for Banshee. After installing this extension, enable it in Banshee by going to Edit > Preferences > Extensions and checking the box next to Last.fm Fingerprint. With this extension enabled, you can right click on any song in your library and choose "Get Information from Track ...


16

Creating a test Ext4 filesystem: First make a filesystem on a file to avoid corrupting your real filesystem: dd if=/dev/zero of=test_fs bs=10M count=1 This will create a file called test_fs with a size of 10 megabytes. Then we will create a Ext4 filesystem on it: mkfs.ext4 test_fs Putting some files on it: We have a fully functional filesystem. ...


15

You have several commands to get that information: avprobe from the package libav-tools is pretty good. Sample output avprobe somefile.mp4 avprobe version 0.8.4-4:0.8.4-0ubuntu0.12.04.1, Copyright (c) 2007-2012 the Libav developers built on Nov 6 2012 16:51:33 with gcc 4.6.3 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'somefile.mp4': Metadata: ...


15

View pdf metadata for a file called Example.pdf: pdfinfo Example.pdf Edit existing metadata in the terminal using nano editor: pdftk Example.pdf dump_data output Metadata-output.txt nano Metadata-output.txt Update metadata: pdftk Example.pdf update_info Metadata-output.txt output Example-new.pdf Nano editor keyboard shortcuts Use the ...


14

Changing the date and time are easy in Shotwell. Select the photos you want to adjust and go to the menu like this: Select Photos/Adjust date and time. That brings up a menu like this: If all the photos are off by the same amount, you can do them all in one go. If you used more than one camera and they were off by different amounts, you have to ...


12

In Banshee 2.2, both of these issues have been fixed. Ubuntu 11.10 comes with this version of Banshee installed by default. There are a couple reasons that this could happen: MusicBrainz recently changed the way that third party applications can request metadata, and this change caused problems with Banshee. Until recently, if a MusicBrainz DiscID matches ...


11

You can edit metadata by using pdftk. Check out update_info parameter. As for data file, below is an example: InfoKey: Title InfoValue: Mt-Djing: multitouch DJ table InfoKey: Subject InfoValue: Dissertation for Master degree InfoKey: Keywords InfoValue: DJing, NUI, multitouch, user-centered design InfoKey: Author InfoValue: Pedro Lopes (Source)


11

You can use launchpadlib to do this. For example, in python: #!/usr/bin/env python from launchpadlib.launchpad import Launchpad lp = Launchpad.login_anonymously('series-support-check') for series in lp.projects['ubuntu'].series: print series.name, series.supported For more info about the launchpad API, check out the web services API help or the API ...


11

To simply convert files from Windows WAV to FLAC on the commandline the official tool flac would be the obvious choice. flac ~/Music/*.wav would convert all WAV files from the Music directory in your HOME to flac. By using the option: flac --keep-foreign-metadata ~/Music/*.wav even non-flac metadata will be preserved in your resulting *.flac file. ...


11

exiftool This might be a surprise, but exiftool from libimage-exiftool-perl has this capability as well. It supports showing info from a lot of media file formats, and can write metadata too for some of these formats. Example output for an audio file: # exiftool The\ Police\ -\ Live\!\ Disc\ 2\ -\ Atlanta\ -\ 01.\ Synchronicity\ I.mp3 ExifTool Version ...


9

There are several ways to achieve this. Here are three methods, using three different utilities. Using exiftool Install libimage-exiftool-perl using the command sudo apt-get install libimage-exiftool-perl. Run exiftool /path/to/file The output you get is similar to this: ExifTool Version Number : 9.04 File Name : ...


9

There is standalone program for that (not Banshee) - Picard, in Ubuntu repos. http://musicbrainz.org/doc/MusicBrainz_Picard


9

Ok, you can copy owner, group, permission and timestamps using the --reference parameter to chown, chmod, touch. Here is a script to do so #!/bin/bash # Filename: cp-metadata myecho=echo src_path="$1" dst_path="$2" find "$src_path" | while read src_file; do dst_file="$dst_path${src_file#$src_path}" $myecho chmod --reference="$src_file" ...


8

I would recommend that you use the excellent program called recoll, available in the repositories, to index your documents and then use it to search. recoll can be used from the commandline with the -t switch like this; recoll -t author:"Christopher Negus" where the string in quotes is the author of a pdf document of interest, see below; The recoll ...


7

Files such as the Portable Document Format (PDF), images, audio and video files the metadata you are interested in can be viewed by right clicking the file, click properties and then click on the relevant tab to see the kind of metadata you asked about. For PDFs click the Document tab For images click the Image tab For audio click the Audio tab For ...


7

Look for mediainfo package in repository


6

I am using mediainfo to get all properties of media file ( audio and video files ) root@server:Videos::08:47 PM# mediainfo Vazquez.mp4 General Complete name : Vazquez.mp4 Format : MPEG-4 Format profile : Base Media / Version 2 Codec ID : ...


6

Testing with Google Music, I realized that it's all about the ID3 tag. Whatever you put there, Google uses it. it doesn't matter what the name of your files are, it's all about the ID3. Even if you have songs where the Artist and Album Artist are different, Google will display both correctly without any confusion. I suggest that you organize your music ...


6

You can use the parse the output from ubuntu-support-status. That will list what software is unsupported, and how long the others are supported. For instance, LAMP services are supported for 5 years on an LTS desktop even if the desktop itself is only supported for three years. That command will reflect that. It will also show you that packages from ...


6

nautilus-columns from ppa:nilarimogard/webupd8 works great. You can install it with: sudo apt-add-repository ppa:nilarimogard/webupd8 sudo apt-get update sudo apt-get install nautilus-columns These are the columns that are added:


5

Follow this excellent how-to: Adding metadata columns in Nautilus (Ubuntu). Here is a screenshot I took after following the how-to:


5

Using Banshee 2.4.0, There is a setting: Additionally, you could: Right click on All Artists then click Edit Track Information Go to the second tab, Extra, and fill out as follows: This will take a long time, depending on the size of your library, but will edit every single song (unless the id3 comment tag is already a space, in which case, you ...


5

Some options. With exif: sudo apt-get install exif cd to/folder/ exif --remove * With exiftran: sudo apt-get install exiftran cd to/folder/ exiftran -d * With jhead: sudo apt-get install jhead cd to/folder/ jhead -purejpg * With exiv2 (for multiple formats support): sudo apt-get install exiv2 cd to/folder/ exiv2 rm *


5

Depending on what you consider essential, you might want to use the file utility for this, which gives general information on any file. Its primary purpose is to tell you what type of file you have, but it may provide the level of detail you need. $ file '01 - Nina Simone - Mood Indigo.mp3' 01 - Nina Simone - Mood Indigo.mp3: Audio file with ID3 version ...


4

I also ran the following commands to kill the process and remove the stored metadata. pkill gvfsd-metadata rm -rf .local/share/gvfs-metadata



Only top voted, non community-wiki answers of a minimum length are eligible