General :: Properly Extracting Archives With Mac Metadata?

Mar 28, 2011

Someone has sent me a zip file containing some fonts. I extracted it using unzip under Linux, and there are empty files in the top level of the archive, and some files similarly named but beginning with ._ in a __MACOSX subdirectory.

I understand that the __MACOSX contents should be metadata, and normally I'd delete it. In this case, however, all of the data seems to be in there! Is there a tool that I can use to reassemble the original data?

View 1 Replies


ADVERTISEMENT

General :: Extracting And Then Deleting Archives?

Apr 23, 2011

I have a large number of zip-archives which I would like to extract and then delete, keeping only the extracted files. The files are located in a number of directories and I issued the following command, hoping that it would solve my problem (which it didn't):

Code:find . -name "*.zip" -execdir unzip '{}' ; -deleteWhat happened was that find continued to extract the files as intended, but then it deletednot only the zip-archives but also the newly extracted files.it only affected a portion of the files that I had already backed up.I don't have enough space on my hard drive to extract all the files without simultaneously removing any data and I don't have the energy to go through all the directories one by one manually. Surely there must be a better way. Is there a way to fix the code snippet above so that it works as I intended or is there a better way of doing this?

View 4 Replies View Related

General :: Rename - Extracting Metadata From Flac Header?

Jan 14, 2011

I recently (and accidentally) wiped a hard-drive which should NOT have been formatted. PhotoRec was able to recover some of the most important files from the disk.

Part of those files include a large music collection of flac files. I've placed these in a folder named 'FLAC' that looks like this:

[Start of FLAC Folder]
f11655088.flac
f11698672.flac
... (around 2,000 files total)
f291142600.flac
[End of FLAC Folder]

I'm running a livecd to rescue this data. I have access to a standard terminal in Ubuntu 10.10. I've noticed that the music player in linux will display the song title when I open any of these songs.

My goal is to automatically extract the song title from these files and update their names from f12313512.flac to 'Libera - Rebirth.flac'

View 1 Replies View Related

Slackware :: Extracting Metadata From WAV Files?

Feb 6, 2011

Kernel 2.6.21.5, GNU/Linux (Slackware 12.0).

A tool to extract metadata from a WAV file and present it in human readable form?

View 4 Replies View Related

Fedora Installation :: Error - "There Was An Error Extracting The Archives For MATLAB Compiler

Dec 22, 2009

I have been trying to install MATLAB 2008b as a standalone version; however, every time when the process runs to 18% it shows an error as follows: "There was an error extracting the archives for MATLAB compiler. Chceck that you have enough disk space and rerun the installer."

I did have checked the disk space which is much more than enough. I have also changed few different disks that are way more than enough as well, about 5GB at least, but this error still popped out when it runs to 18%.

View 9 Replies View Related

Ubuntu :: Converting RPM Archives Into Deb Archives?

Jan 12, 2010

I've found a website [URL] that I've downloaded Basilisk II [URL] and SheepShaver [URL] from, I converted both inton deb archive using the command sudo alien, but while they both successfully converted and installed, and show up in the Applications menu, only Basilisk II launches. When I click on the SheepShaver icon, nothing happens. I had this problem with another SheepShaver RPM I downloaded elsewhere. I really want to use SheepShaver to run Mac OS 9 on my laptop, is there something I can do to get it to run?

View 7 Replies View Related

General :: How To Tar -zxvf Many Archives At Once

Nov 3, 2010

I want to tar -zxvf several dozen .tar.gz archives. I know how only to tar -zxvf one archive at a time. If possible, I would like to tar -zxvf all the archives in one command so I don't have to type "tar -zxvf [filename]" several dozen times. What's the syntax? I looked at the man tar page, but couldn't find it.

View 3 Replies View Related

General :: Is It Ok To Delete Everything In /var/cache/apt/archives

Aug 4, 2010

There is this directory with a lot of .deb files in it. /var/cache/apt/archives

Can i delete all these files in that directory? is it safe? They are temporary files right?

View 5 Replies View Related

General :: Group Files And Create Archives Accordingly?

Jul 20, 2010

How can I group files and create archives accordingly? I have 10,000 files in a folder (no sub-folders) and I want to create 10 zip or tar.gz archives. This means every archive has 1,000 files. How can I do this in Linux?

View 1 Replies View Related

General :: Create Archives Of A Directory Tree On Ubuntu Box?

Oct 29, 2010

Are there any other archiving tools than tar that preserve Linux file permissions and user/group flags? I want to create archives of a directory tree on my ubuntu box. The directory trees are large, a first run with tar cvpzf archive.tgz /home/foo/bar yielded a 5GB archive. I also want to keep all permissions and other flags and special files.I'm fine with a 5GB archive, however to look inside that archive -- since it is a compressed tar archive -- the whole 5GB have to be decompressed first! (Or so it appears when opening it with the archive viewer -- I'm happy to be corrected.)So I need a way to "backup" a directory (tree) while preserving full filesystem attributes and right and creating an archive with an "index" that hasn't to be decompressed for browsing its contents. An archive is either a single file, or a (small) set of files that carries full and complete information within this file/s. That is, it can live on any filesystem (size permitting), it can be burnt onto a DVD, you can split it (after which the point of this question is really lost - but still), ...

View 3 Replies View Related

General :: Cannot Move A File Into My Archives Directory In Bash Scrip

Apr 12, 2010

I cannot move a my file into my archives directory in my bash scrip.

View 7 Replies View Related

General :: Startup Script - Delete Downloaded Archives (Clean Up)

May 29, 2010

I'm looking to make a script that will do the following;

yum update -y
cd /home
wget [URL]
sh latest
(install various scripts like ConfigServer series, ClamAV)
edit settings in files
delete any downloaded archives (clean up)
reboot/delete self

View 5 Replies View Related

General :: Installing Compiz - /var/cache/apt/archives/udvev-151-3-i386.deb ERROR

Apr 4, 2010

I was installing compiz on my machine and towards the end of installation i got an error saying:
dpkg:error processing /var/cache/apt/archives/udev-151-3-i386.deb

The program returned valude 1 or something towards that direction. I rebooted my X server however i got an error saying X server encountered a problem. I did apt-get install compiz and found out that many dependencies were missing so i tried apt-get -f install but i got the same error message at the end of the day. Im currently booted on windows XP.

View 14 Replies View Related

General :: Extracting All The Still Images From A Movie?

Jun 25, 2011

I have a large number of paper sheets to scan. Instead of an autofeed or flatbed scanner, I'd like to use my photo camera. After a while, it occurred to me that instead of making a photo for each page, I could install the camera on a tripod, set it to record video and then extract the images from the video.

That way, I'd just have to handle the papers: Pick one, place it in front of the camera, wait a moment, replace it. Is there a Linux software to get all images without motion out of a movie? Kind of a non-motion-detection.

View 1 Replies View Related

General :: Extracting A Stream From Ffmpeg?

Oct 4, 2010

Code:
$ffmpeg -i /data/sumeet/video/hollywood/you don't know jack/You.Dont.Know.Jack.2010.DVDRipwww.theevolution.org_by_digoloko.rmvb
FFmpeg version git-1dbd813, Copyright (c) 2000-2010 the FFmpeg developers
built on Oct 1 2010 19:28:12 with gcc 4.4.3

[Code].....

At least one output file must be specified Actually the video has embedded subtitles. I thing that is stream 0.2 in real media container. How can i pull that data out ?

View 3 Replies View Related

General :: Extracting Rar Files In RedHat?

Apr 26, 2011

How to extract rar files in RedHat Linux?

View 8 Replies View Related

General :: Create Self Extracting Rpm For Project

Jul 11, 2011

i am working on a project that requires updation after every 10 days that is after 10 days , i have to apply a new release. every time i need to copy all things from one path and paste it to different locations that is a manual work, i want to create a self extractor, in which i have to give only path, that is the path where i need to paste the files.

View 7 Replies View Related

General :: Cannot Reboot After Extracting Tar (Fedora On LG X110)?

Jul 8, 2011

I wish to set up a backup and recovery procedure for a linux machine. However, when I extract the archive, the system works fine until the next time I want to boot up. Then the system behaves as if it does not know what to do after running bios.Am I missing something simple? Complex?I am trying to isolate the error now, but here is the error recreation procedure so far.Error recreation procedure:

-install Fedora 15 from live CD
-power down
-disconnect the usb DVD drive

[code]...

View 4 Replies View Related

General :: Extracting Date And Time From The At Command?

Sep 10, 2009

I would appreciate help with how to extract the date and time from at command jobs. From what I can tell, the date and time is embedded in the file name (/var/spool/atjobs).I'd be using this information in a (bash) shell script.

View 14 Replies View Related

General :: Extracting Latest Tar File From The List?

Jan 25, 2010

I have a bunch of tar files in a folder with the name in 'file_name.MMDDYYYY.HH.mm.SS.tar' format. I need to write a shell script that picks latest and greatest of the above tar files and extracts it to a particular folder

View 1 Replies View Related

General :: Extracting Columns From Multiple Files With Awk?

Sep 22, 2010

I'd like to extract a single column from 5 different files and put them gether in an output file. I saw a similar question for 2 input files, and the line of code workd very well, the code is:awk 'NR==FNR{a[NR]=$2; next} {print a[FNR], $2}' file1 file2I added the file3, file4 and file5 at the end, but it doesn't work. Does anyone know what do I have to do?

View 5 Replies View Related

General :: How To Install Firefox After Extracting ARC File

May 24, 2010

I am really trying to learn the heart of linux, and not rely on gui's and package managers for everything. I am trying to download firefox 3.6. I downloaded the arc file, and extracted it to my home folder, but I don't know what to do next. I am also clueless as to how to install tar or tar.gz files, and tell them where to go, etc. Firefox is the priority question here. I am sure I can get it from the package manager, but I want to learn to do it with the arc files, and tar files, etc, and not rely on the gui for everything like in Windows. I am a Linux newbie, converting to Linux for hobby and educational purposes, but I have no direction, or no sense of where to go, or how to learn. I am running Kubuntu 10.04 LTS.

View 10 Replies View Related

General :: Extracting Information From Multiple Text Documents?

Jul 7, 2010

I am an astronomy student using Ubunut 10.04, and a frequent user of IRAF ( an *nix image processing application geared toward astronomy). IRAF produces, amongst other things, a text document with various values on it (example below).

Code: K IRAF = NOAO/IRAFV2.14.1 version %-23s
#K USER = name %-23s
#K HOST = Balthazar computer %-23s
#K DATE = 2010-04-29 yyyy-mm-dd %-23s

[Code]...

Now, the information I'm actually interested is the X and Y coordinates down towards the bottom (in this case, 973.505, 271.474).

I have about 800 of these output text files, and I was wondering if there's any sort of script or command that could go through them (presumably reading from a list of file names), and extract the coordinates. Ideally, the output would be a list of coordinates (i.e. X-coordinate, Y-coordinate).

View 1 Replies View Related

General :: Extracting Sound Clip From Video Using Ffmpeg?

Nov 10, 2010

Code:
ffmpeg -i Mumbai.Meri.Jaan.2008.1CD.XviD.AC3-5.1.Esub.By.Deejam.avi -ss 8170 -t 302 bambai-meri-jaan.mp3
FFmpeg version git-1dbd813, Copyright (c) 2000-2010 the FFmpeg developers
built on Oct 1 2010 19:28:12 with gcc 4.4.3
configuration: '--enable-avfilter' '--enable-avfilter-lavf' '--enable-vdpau' '--enable-bzlib' '--enable-

[Code].....

Error while opening encoder for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height

View 5 Replies View Related

General :: Extracting Text From File (Apache Access Log)

Apr 23, 2011

There are some log files that I wish to get some information from (Apache Access Log) but it is huge! All I need as of right now is any information from date and time A to date and time B. What commands can I use to extract this information from the access_log and put it into another file with just that information? I created a file called "access_info" by doing
Code:
touch access_info
but I was not sure where to go from there.

View 13 Replies View Related

General :: Extracting Absolute Directory From Type Command?

Sep 26, 2010

I need to extract the absolute directory from the type command when I pass it a program name. E.g.

Code:

>type cat
cat is hashed (/bin/cat)

There is one other case (I believe):

Code:

>type lpr
lpr is /usr/bin/lpr

I thought of using regex, but it returns the whole line, not just the match. In addition, there is no option cited in the man page for type that returns just the command directory.

Note: this is part of my solution to a programming assignment in bash shell scripting.

View 1 Replies View Related

General :: Extracting And Installing Adobe Flash Player?

Jan 28, 2010

I'm on Slackware 13.0. I downloaded the tar file for Adobe flash player (install_flash_player_10_linux.tar.gz) to my /tmp.

But when I invoke "tar -xzvf install_flash_player_10_linux.tar.gz" all I get is a file libflashplayer.so in the same /tmp directory.

I was expecting a folder with the same name and more than the one file in it.

View 5 Replies View Related

General :: Possible For Ex. Extracting Image / Modifying Files / Then Remaking Iso?

Sep 23, 2010

I don't know almost anything about it so I was thinking of asking this question from the experts.I recently downloaded the xPUD 0.9.2.I LOVE that OS!It's simple,fast and smart.I just would like to add some other programs to it somehow.Is that possible for ex. extracting the image,modifying files,then remaking the iso?(Talking in Windows7)I would like to add some programs like Wine and some games also.Please reply as soon as possible because the xpud site is down for bandwidth exceeded.

View 2 Replies View Related

General :: Audacious Cannot Update Metadata?

Apr 30, 2010

Whenever I try to add or update metadata from a MP3 file, Audacious gives the message "Metadata updating failed".I use Ubuntu (9.10) and installed Audacious (2.1.0) from the Ubuntu Software Center.Does anybody know what causes this or how I can find out what the problem is...

View 2 Replies View Related

General :: Cannot Retrieve Repository Metadata

Jan 14, 2011

i am trying to install the rhel 6 using virtual machine(virtual box ) and iam getting the error as "Unable to read package metadata. This may be due to a missing repodata directory. Please ensure that your install tree has been correctly generated.Cannot retrieve repository metadata (repomd.xml) for repository:naconda-base-201009221732.i386."i would also like to know what is the reason for this error , i try to goggle it and seems most ppl are facing the same issue and they are directing to some mailing list like rhn-satellite can some somebody can explain what is that mail listing and how we can use the mail listing to dig information

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved