Ubuntu :: Script To Check If A .rar Archive Has Already Been Extracted?
May 19, 2011
Quote:
trying to run a script every 30 minutes that checks a directory recursively and extracts any archives that have yet to be extracted.
I tried the unrar o- option which does not overwrite, but it still goes through the motions of extracting the files, then just skips the overwrite so its wasting cycles and HDD life (especially if running every 15-30 minutes).
What are my options?
I really just want:
if (archive has already been extracted)
then (skip extraction)
else (extract archive)
is there any simple way to accomplish this?
My formatting kept getting jumbled into one big paragraph so I tossed it in a quote tag =/
View 3 Replies
ADVERTISEMENT
Sep 14, 2010
I have a RAR archive, split into 40 sections, containing a folder with a total of 2GB of data. When I Open the Archive using "File Roller 2.30.1.1" and drag the archived folder to destination folder, it says that its uncompressing, but after its uncompressed, there is nothing there, in the destination folder. Where was the 2GB extracted stuff gone?
View 1 Replies
View Related
Dec 6, 2010
I'd like to ask about archive mounter feature, can I mount zip file with read write mode? can gvfsd-archive do that?, or I must use fuse-zip to mount it? If I must use fuse-zip, how I wrap it so I can use it via nautilus or via gvfs-fuse-daemon
View 4 Replies
View Related
Jul 13, 2011
I am new to the world of linux and when attempting to verify a tar archive I am displayed the following error. When running the command tar cvfW archivename.tar filename directoryname does not yield any errors.
View 1 Replies
View Related
Jul 15, 2010
I got the etpro 3.2.6 zip file and extracted it but there are no files at all that can be run in linux inside the folder even though it was supposed to be a linux download. Is there something I am missing and is there an easier way to install 3.2.6?
View 2 Replies
View Related
Jan 10, 2010
I'm new to Ubuntu, and everytime i've tried to download a program like iTunes, the "Archive Manager" comes up and says "An Error Has Occured While Loading the Archive". how to fix this or download programs ?
View 7 Replies
View Related
May 2, 2010
I've downloaded pidgin2.6.4tar.bz2 and also extracted it. Now I dont know how to insatll it.
View 3 Replies
View Related
Dec 29, 2010
Using Ubuntu 9.10/Epson Perfection V5001) I downloaded and extracted VueScan 9.0.08.2) The executable does not execute.3) Trying a cmd line execution (./vuescan) I get "./vuescan /lib/tls/i686/cmov/libc.so.6: version 'GLIBC_2.11' not found (required by ./vuescan)
4) However, libc.so.6 (link to shared lib) is located at /lib///cmov. It is linked to libc-2.10.1.so (shared lib) which is also located in /etc///cmov.So what may be the problem? My scanner works with Xsane, Iscan & VueScan 8.6.08. Unfortunately, Ed Hamrick (www.hamrick.com) does not support this type of problem(linux library compatibility issues), though a very nice application when the versions are compatible for Linux.
View 9 Replies
View Related
Jun 14, 2011
I've extracted a few files through the archive manager through Ark (as well as through the command line) and some folders/files that were originally in Japanese are not properly displayed in the terminal or file browser. I can't delete them nor open them; I am informed that this file does not exist.I am running Kubuntu 11.04. I had a similar problem in Ubuntu 10.04 in that the text was not displayed properly, but the files were readable and writable.
View 2 Replies
View Related
Jan 23, 2010
I am trying to install a program called libdvdcss0.0.1, it was a tar,gz2 file and I already extracted it via terminal to /opt/ but now that its extracted, I read the install readme file and tried going by those directions. Not working here is my results on that:
scott@Home:~$ cd /opt/libdvdcss-0.0.1/
scott@Home:/opt/libdvdcss-0.0.1$ /configure --help
bash: /configure: No such file or directory
scott@Home:/opt/libdvdcss-0.0.1$ configure --help
configure: command not found
scott@Home:/opt/libdvdcss-0.0.1$ make install
cd extras/libdvdcss && make install
make[1]: Entering directory `/opt/libdvdcss-0.0.1/extras/libdvdcss'
mkdir -p /videolan
m 644 videolan/dvdcss.h /videolan
make[1]: m: Command not found
make[1]: [install] Error 127 (ignored)
mkdir -p
mkdir: missing operand
Try `mkdir --help' for more information.
make[1]: *** [install] Error 1
make[1]: Leaving directory `/opt/libdvdcss-0.0.1/extras/libdvdcss'
make: *** [install] Error 2
scott@Home:/opt/libdvdcss-0.0.1$
I don't know if its something I am doing wrong or what but everytime I try and install a file this way or by the programs readme file it always goes wrong in someway shape or form. The only way I have installed a program successfully is through kpackagekit and I am desperately trying to learn terminal's language here, the only thing standing in my way from switching from windows to linux entirely is these damn problems.
View 4 Replies
View Related
Aug 9, 2010
im using OEL 5.5I need to pull down some files from an SFTP server.To do this I have downloaded filezilla3 and extracted to my desktop ... I have no idea how to install it
View 10 Replies
View Related
Apr 28, 2011
I've written the script below to merge only .txt files that exist in one directory into one huge .txt file and ignore other files with other extensions. now the result is one huge .txt file with all the contents of other .txt files
how can i add the File Name as a comment before each file?
//FileName
Code:
system='/path/to/my/directory'
cat `find ${system} -name '*.txt'` > outputFileDirectoryName.txt
View 13 Replies
View Related
Apr 8, 2011
I have download the JRE for java 1.7 in tar.gz format and extracted it. Now im left with a java folder that i have no idea what to do with. My goal is to install this JRE onto my server.
View 19 Replies
View Related
Feb 3, 2010
I just downloaded a file that ends with .Repo, I believe it's a repository file. How should I install this type of file and where/which directory it should be extracted or saved to?
My apology for being a suzee nubbee (Windoz refugee).
View 5 Replies
View Related
Feb 16, 2010
I have extracted the files from a bootable CD to /dev/sdc2/bootable/winpwrec with the hope of booting from the hard drive. I have read the grub.cfg file and a couple of guides here and I'm still not sure what I'm doing. Is there any chance someone can tell me what I need to add to the grub.cfg file to add this to the boot menu? I am pretty well-versed in computers but I'm new to Linux and I'm still trying to get acquainted with the OS, terminology, and the boot loader. I'm using Ubuntu 9.10, if that matters.
files in the folder:
BOOT.CAT;1 ISOLINUX.BIN;1 SCSI.CGZ;1
BOOT.MSG;1 ISOLINUX.CFG;1 SYSLINUX.CFG;1 VMLINUZ.;1
INITRD.CGZ;1 README.TXT;1 SYSLINUX.EXE;1
isolinux.cfg
Code:
#serial 0 19200
View 3 Replies
View Related
Dec 7, 2010
When I first installed the openSUSE, I had to extract whole iso to sda4, because there was some kind of with CD (scratched or something like that), Now I want to add this part to grub, so that when I want to reinstall it, it will be ready for me. I tried doing this with yast, but could't figure out whole thing.
My current setup:
kernel image: (hd0,4)/boot/i386/vmlinuz-xen
initial ram disk : (hd0,4)/boot/initrd-xen
root-device:/dev/disk/by-id/ata-TOSHIBA_MK8032GAX_76HE0769T-part4
vga-mod:1024x768, 24 bits (mode 0x318)
optional parameters: resume=/dev/disk/by-id/ata-TOSHIBA_MK8032GAX_76HE0769T-part4 splash=silent quiet showopts
This tries to do it, but gives error while trying to boot.
View 1 Replies
View Related
May 29, 2010
I'm trying to do the simplest thing. Compile XMMS. I navigated to the folder containing the extracted source and ran ./configure. That failed, so I remembered to install the build-essential package.
After that, I continued and got this output:
It said I didn't have glib installed, whatever that is. I did "apt-get install glib" and it told me it couldn't find the package called "glib". I thought, "Yeah, that seems a little too broad of a package name".
So then I went to Synaptic and did a search for "libglib" and noticed I already have libglib2.0-0 installed, as well as libglib2.0-data and libglib-perl.
How can I get this to to work correctly? I know the process should be ./configure, make, and then make-all, but I get stuck on the ./configure step.
View 14 Replies
View Related
Jan 4, 2010
I am trying to run a script called install.sh as follows: I get a jar file, and extract it using the command: unzip filename.jar -D path/to/files then I navigate to that directory where I extracted the files, and run the command: sh install.sh (where install.sh is one of the files that has been extracted in that directory using the above unzip command.) running this command gives me an error:'nstall.sh: command not found.' among other errors in the script ( from that portion of the script that should not even be executed, which is really weird). However, instead of unzipping the jar file, if I just copied the same install.sh file to that folder, and ran the 'sh install.sh' command, the script runs fine.
View 6 Replies
View Related
Mar 16, 2011
I had a task to install nginx,i download the nginx-0.5.35.tar.gz and i extracted.I got following error when i ran these commands ./configure ----with-http_gzip_static_module & ./configure --with-http_geoip_module
[root@localhost nginx-0.5.35]# ./configure --with-http_gzip_static_module
./configure: error: invalid option "--with-http_gzip_static_module"
[root@localhost nginx-0.5.35]#
[code]....
View 13 Replies
View Related
Feb 3, 2010
I am new to Debian but not Linux-based systems. I have been experimenting a lot with Debian Lenny/Squeeze. I am growing more comfortable each day with the Debian design. Yet there remain many unexplored areas. I am creating a migration check list. Things to check, prepare, or reconfigure when moving from one Linux-based system to Debian.
I have a good computer background and my current check list probably is fairly good. Yet I would appreciate input and opinions from experienced Debian users of things to watch in such a migration. Login defs, passwd/group files, different directory locations, keymaps, services and daemons, etc. I am not too concerned with the desktop as I plan to stick with KDE 3.5 for a while and I can basically move those settings across.
View 4 Replies
View Related
Aug 19, 2010
I want to put check menu & check list in utility dialog.i dont know how i do this
View 1 Replies
View Related
Jan 8, 2010
I need to know, how can I make an archive passworded, that means, I will set a password for this archive and nobody can open it without this password. The archive is .tar.bz2.
View 4 Replies
View Related
Jan 31, 2011
[url] I really love that conky config. But I can't figure out how to set up the files instead the archive.
View 1 Replies
View Related
Feb 17, 2011
I'm trying to extract an RAR file which has my stuff on it from university, they use Windows Vista Ultimate so i thought i would be safe when saving my work to my flash drive. So i saved my work with the program winzip. when i got home i put in my flash drive and asked Kubuntu to extract only to find i don't have a RAR program to extract so i asked to install one via the Kpackage Manager and everything seemed fine so i asked it to extract again and said cannot extract unknown file. so i went through the terminal to install again and to make sure they were no bits of the install missing and i got this.
robert@HP-COMPAQ-LINUX-KDE:~$ sudo apt-get install unrar-nonfree
[sudo] password for robert:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package unrar-nonfree is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source
E: Package 'unrar-nonfree' has no installation candidate robert@HP-COMPAQ-LINUX-KDE:~$
Is there any other way of extracting my work as i need to get my essay open and finnish it before monday. Also why is it saying that the package is missing? and what is the other source? Is there a way to decrypt this RAR file that vista has made?
Also one more thing once ive managed to decrypt and extract my work what is the reccomended format to between vista and kubuntu so i wont get anymore issues?
View 4 Replies
View Related
Apr 30, 2010
7-Zip 9.04 beta Copyright (c) 1999-2009 Igor Pavlov 2009-05-30
p7zip Version 9.04 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,4 CPUs)
Error: there is no such archive
this is what i got when i tried to download cinema 4d on my computer 40 mins. ago, is something im not doing that makes this happen because this happens more often than not, i go through a lengthy download and get errors, im sorry ive only been on here for 2 weeks tops and already bothered you all 4 times.
View 2 Replies
View Related
Feb 28, 2010
I have a ton of music that I would like to upload to an on-line storage site. Ideally, I would like to keep the file organization structure intact, but am limited to 50mb file size.
Is there a way to compress this whole directory without going through and compressing every folder individually, while maintaining less than a 50mb file size?
View 2 Replies
View Related
Apr 17, 2010
I'm trying to extract an RAR file which has my stuff on it from university, they use Windows Vista Ultimate so i thought i would be safe when saving my work to my flash drive. So i saved my work with the program winzip. when i got home i put in my flash drive and asked Kubuntu to extract only to find i don't have a RAR program to extract so i asked to install one via the Kpackage Manager and everything seemed fine so i asked it to extract again and said cannot extract unknown file. so i went through the terminal to install again and to make sure they were no bits of the install missing and i got this.
robert@HP-COMPAQ-LINUX-KDE:~$ sudo apt-get install unrar-nonfree
[sudo] password for robert:
Reading package lists... Done
[code]....
Is there any other way of extracting my work as i need to get my essay open and finnish it before monday. Also why is it saying that the package is missing? and what is the other source? Is there a way to decrypt this RAR file that vista has made? Also one more thing once ive managed to decrypt and extract my work what is the reccomended format to between vista and kubuntu so i wont get anymore issues?
View 1 Replies
View Related
Jun 18, 2010
I recently downloaded a program to find out it was in pieces. What I originally conceived as being a small problem has turned into a major time wasting dilemma.
I've tried many different things to get it to properly extract, viewing threads on these forums even, but to no avail.
The files were named:
file.part01.rar
file.part02.rar etc.
I though this was the problem so I renamed all 84 files (except the first one), removing the .rar extension. No cigar.
My final attempt of several was using 7zip:
Code:
7z x myArchive.rar -o/home/[username]/Desktop
I was in the correct folder as far as I could tell.
I have included a screenshot of the files in order to stop any confusion about my description.
View 3 Replies
View Related
Jul 31, 2010
I am trying to install MySQL, Apache, and PHP onto my Linux Ubuntu laptop from a cdrom that I got from a teach yourself MySQL, Apache, and PHP book I bought. First off there were two steps which i think i did right. The first was to mount the CD-ROM under /mnt in my file system which i did and there seems to be no problem except for the reply "mount: block device /dev/sr0 is write-protected, mounting read-only"
now first of all there are two things I need to explain, first of all I was superuser for all of this by using the command su at the beginning of my terminal session. Second of all the symbol "|" on my line of code above looks different from the symbol in the book. It should have a small space in the middle of it. However it looks like this on my keyboard so I am assuming it is simply a difference in text font. That is it, it would be really nice to figure out what went wrong because to be honest I am curious as to why the book is giving me code that gives multiple errors.
View 4 Replies
View Related
May 2, 2011
I have upgraded from 10.10 to 11.04 and I am using the classic ubuntu interface instead of Unity. I am facing problems with the Archive Manager. My problem is that I can open archives but I can not modify them or create a new zip file with the GUI. I get an error saying:
zip error: Invalid command arguments (no such option: -)
The easiest way to reproduce it is by right-clicking on any file, pressing compress and selecting .zip in the file format.
View 1 Replies
View Related