Tag Info

Hot answers tagged

25

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


23

@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=$(ls -di "${target}" | cut -d ' ' -f 1) fs=$(df --output=source "${target}" | tail -1) crtime=$(sudo ...


21

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


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


9

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


9

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


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


8

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


7

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


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

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


6

Look for mediainfo package in repository


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


4

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 *


4

Nautilus-columns works great and can be downloaded here: http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu/pool/main/n/nautilus-columns/nautilus-columns_0.3.3-1~webupd8~0_all.deb These are the columns that are added:


4

The Banshee configurations are stored in the ~/.config/banshee-1/ directory. Those configurations can be found in the ~/.config/banshee-1/banshee.db (if you have the sqlite3 tool you can take a look inside this file). I don't know if there are significant differences in the format of the files from one version to another, but I suggest that you save the ...


4

Not yet. Shotwell can organize your photos into folders by time only, like the first link you have. To achieve what you want you need to use the Hierarchical Tags feature in Shotwell. This isn't exactly what you want though, so the short answer is no. Have a look in Preferences/Library/Importing/Pattern: and click (Help) for a list of exactly the time-based ...


3

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


3

Over the holidays there was a problem with the scanning server. It has been fixed, and you should get the proper tags for yours songs within the next 24hs. Sorry for the problems it caused you :(


3

Based on this page on their wiki, it appears that Shotwell can only write keywords, titles, ratings, and orientation. I've used all these and I don't know of any other user modifiable fields (besides adjusting date & time) that Shotwell can do. It looks like all the metadata that Shotwell can modify is written to the original file, if you enable that ...


3

WARNING: Without special workarounds, GNU cp --attributes-only will truncate the destination files, at least in Precise. See the edit below. Original: In this situation you probably want GNU cp's --attributes-only option, together with --archive, as it's tried and tested code, does all filesystem-agnostic attributes and doesn't follow symlinks (following ...


3

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


3

In Banshee, this has been fixed now, but only after version 2.1.0. If you really care to look into the details, the change was committed on 2011-05-28 but the 2.1.0 branch was created on 2011-05-12. If you are really itching to get this working again, here are the steps you have to follow: (Warning, this is the daily repo so you will get lots of update ...


3

To place all supported names in a list instead of printing them: from launchpadlib.launchpad import Launchpad launchpad = Launchpad.login_anonymously('series-support-check') names = [ s.name for s in launchpad.distributions["ubuntu"].series if s.active ]


3

In Banshee, choose Edit > Preferences from the menu at the top. In the General tab of the Preferences dialog window, there should be an option named "Sync metadata between library and files". Make sure this option is checked. As far as I know, this option won't retroactively update metadata for files that you've previously updated in Banshee, but it will ...



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