Ubuntu :: File Extension Z - Unix Compressed Archive File?
May 6, 2010Anyone know how to compress a file to extension z?not tar.gz , zip, 7zip
View 6 RepliesAnyone know how to compress a file to extension z?not tar.gz , zip, 7zip
View 6 RepliesWhen trying to create a new compressed/archive file in Gnome Commander (GM) the file is created but the selected files are not added. I can open the new (empty) archive file and then add files to be compressed. I have tried using several different formats (zip, tar.bz and others) with the same results. The "file roller" is shown as a plugin but has no configuration other than the compressed file type.
View 2 Replies View Relatedis there a way to view the Unix permissions for a file under Windows?
View 1 Replies View RelatedI am going crazy with a gzip file. I can decompress the file in Windows using WinRAR but it is impossible on any UNIX operating system. the file seems to be ok. If I do file the_name_of_the_file.gz
I get: the_name_of_the_file.gz: gzip compressed data, from Unix, last modified: Sun Jan 30 14:10:21 2011
But if I do gunzip -f the_name_of_the_file.gz I alsways get: gzip: the_name_of_the_file.gz: unexpected end of file The same problem happens when I try to extract the file using the GUI tool in Ubuntu or MacOSX,
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 RelatedI have a considerable number of files in a subdirectory (some fascinating old military clips from archive.org - search on Big Picture if interested). Anyhow, I am downloading them using Internet Download Manager running in an XP virtual machine in VMWare on my Ubuntu 10.04 PC (due to the queuing, restart and speed capabilities of IDM). But I digress - the files are being saved on the host (Samba share) without a file extension. So I have a collection of files with names like
Quote:
The Douglas MacArthur Story
THEY WERE THERE (1960)
I wish to add the extension ".mp4" In Windows this is simply done with the command
Quote:
rename *. *.mp4
This of course does not work in Linux. I have researched the Linux rename command and reviewed a lot of examples. However, I have not found a way to add an extension to a batch of files which are named with no extension to start with. The spaces in the file names also seem to present an issue. At the moment I am renaming them from the Windows VM while they are sitting on the Samba share using the ancient File Manager program from Windows NT which works great on XP. I have experimented with the file rename facility in Gnome Commander however, it does not seem to want to do something so simple.
I would like to have my backup script that I am writing to create a sql dump of my database and go directly into a tar file. Does anyone know how I could do this with one command?
To be more clear I would like to go from
mysqldump -u xxxx -pXXXXX tablename> currentbackup.sql
tar -czvf backup-XXXXXXXX.tgz currentbackup.sql
rm currentbackup.sql
To a single command somehow. Does anyone know how I could accomplish something like this?
I have been having a recurring problem backing up my filesystem with tar, using bzip2 compression. Once the file reached a size of 4Gb, an error message appeared saying that the file was too large (I closed the terminal so do not have the exact message. Is there a way to retrieve it?). I was under the impression that bzip2 can support pretty much any size of file. It's rather strange: I have backed up files of about 4.5Gb before without trouble.
At the same time, I have had this problem before, and it's definitely not a memory problem: I am backing up onto a 100G external hard drive.
That reminds me, in fact, (I hadn't thought of this) that one time I tried to move an archived backup of about 4.5Gb to an external (it may have been the same one) and it said that the file was too large. Could it be that there is a maximum size of file I can transfer to the external in one go? Before I forget, I have ubuntu Karmic and my bzip2 version is 1.0.5 (and tar 1.22, though maybe this is superfluous information?)
i am trying to install symantec endpoint on a linux server by this command rpm -ivh sav-1.0.3-8.i386.rpm but it gives me the following error error: unpacking of archive failed on file /opt/Symantec/bin/navdefutil;4ceb8d6b: cpio: mkdir failed - No such file or directory
View 3 Replies View RelatedI'm trying to figure out how to access compressed files without uncompressing them beforehand, and also without modifying the application/script I am using. Named pipes do the trick, but only seem to work once
In one terminal I do this:
Code:
$ echo "This is a file I'd like to be able to read." >> my_file
$ gzip my_file
$ mkfifo my_named_pipe
$ ls
my_file.gz my_named_pipe
$ gunzip -c my_file.gz >> my_named_pipe
[Code]...
Can anyone recommend a file system similar to SquashFS but writable?
View 2 Replies View RelatedI am attempting to be careful in case my system crashes, and although highly unlikely my first question is if there is a way to first compress my Linux Partitions. After running the diskutil command in OSX's Terminal, I basically end up with this poartition scheme:
Quote:
Macintosh HD = 130GB
disk0s3 = 1MB
disk0s4 = 30GB
Linux Swap = 1.3 GB
I am sure there is a way in the Terminal to first compress disk0s3, disk0s4, and Linux Swap, and then output the compressed partitions into my external Harddrive. I have already read some of the suggestions that only /HOME, /etc/fstab/, list of installed packages, /opt, and /var/cache/apt/archives/-where all installed packages are stored, is what I should backup. But, please correct me if I'm wrong. Wouldn't it take quite a while to install all those packages again in case of a system failure. Or would it just be easier to untar all of them in their directories once Linux has been reinstalled. The closest command I have found so far in being able to achieve this is:
Quote:
sudo tar cvf - files | (cd target_directory ; tar xpf -) The above code is very suitable for what I am looking for because it enables you to copy files into another location by using the tar command where you would create In my case the new location would be my external harddrive. My external harddrive already has its own Linux partition which I am able to mount in Linux and that Linux sees as free space.
I want to create a compressed ISO image file and mount that file to one of the virtual drives and access the content (read-only) without worrying about manual decompression/extraction.For Windows and Linux (Ubuntu) OSes.
View 1 Replies View Relatedi am using the following command to backup and sql file:
tar -zcvf "$BACKUP_DST/$FILE_NAME.tgz" "$BACKUP_DST/$FILE_NAME.sql"
i want to make sure the compressed file wont be larger then 300mb, if it exceeds 300mb, split it into several files.
I had read that the shred doesn't safely work for compressed filesystems when shredding a file, how this can be accomplished in a compressed fs ?
View 1 Replies View RelatedI came across this feature of the "less" command today. It appears not to be well-documented so I'll share it here. I found that "less" can automatically uncompress compressed files - no need to run the first command, the second does the same job:
Code:
gunzip -c textfile.gz | less
less textfile.gz
Even better, "less" can read and list the contents of some archive files as well, including Tar files compressed using Gzip and Bzip2 as well as Zip files. So now when I want to list the contents of an archive,for example to determine whether the contents will be extracted to an absolute path or relative to the working directory, the following work
Code:
less archive.tar.gz
less archive.tgz
less archive.tar.bz2
less archive.zip
Much easier than remembering the various options that the Tar, Gzip, Bzip2 and Zip use. The best one for me is with RPM archives:
Code:
less some.rpm
The above outputs the Information, Change Log and verbose File List of the RPM (paging the output, of course!) The following commands (using short and long options) give the equivalent output using the "rpm" command:
Code:
rpm -qilvp --changelog some.rpm | less
rpm --query --info --list --verbose --package --changelog some.rpm | less
"less" does not recognise the initramfs file produced by "dracut" (which is a compressed "cpio" archive), but I suppose you can't have everything ...
On a Linux CD/DVD, there are compressed filesystem images for the live version for KDE or Gnome for example, but they have no extension, but they are clearly an image file ( compressed filesystem images for the live version before installation ) !!
I was wondering, How do I mount these compressed filesystem images, after I copy the ISO content of the CD/DVD on my system .... I want to edit some files or packages and make some changes, like if I want to customize a live version of gnome for example ! ... ( I know you might be tempted to tell me to use KIWI etc to customize etc ..... ) ... but I want to be able to mount the compressed file system image, then edit it for reading and writing while it is in a subdirectory on its own ... i want to open it ! ... is there a way to do this ??? ... these type of files have no extension ...
i can open this compressed filesystem image then to edit for read & write ... before I roll it back again ..... If and when I succeed .... what should I watch out for ? ... will the same compressed file image but slightly modified work again ?
PS. that same question could be kind of translated or be extended like : how do I use unionfs/squashfs programs on the command line to mount these image files with no extension for read & write mode ???
I'm not 100% sure if this is the right spot for it, but I'm having trouble unzipping files. I've downloaded a good few fonts from dafont.com, from different authors and with different browsers and I still get errors. First I opened the .zip with Archive Manager
Code:
7-Zip 9.04 beta Copyright (c) 1999-2009 Igor Pavlov 2009-05-30
p7zip Version 9.04 (locale=en_ZA.utf8,Utf16=on,HugeFiles=on,2 CPUs)
Error: /media/42E6F8E2366C0906/Fonts/panhead.zip: Can not open file as archive
Errors: 1
I then tried
Code:
ross@Ross-PC:~$ unzip /media/42E6F8E2366C0906/Fonts/panhead.zip
and got this output
Code:
Archive: /media/42E6F8E2366C0906/Fonts/panhead.zip
End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the latter case the central directory and zipfile comment will be found on the last disk(s) of this archive.
unzip: Cannot find zipfile directory in one of /media/42E6F8E2366C0906/Fonts/panhead.zip or /media/42E6F8E2366C0906/Fonts/panhead.zip.zip, and cannot find /media/42E6F8E2366C0906/Fonts/panhead.zip.ZIP, period.
I do have p7zip-full installed, but it isn't a .7zip file?
Possible Duplicate:convert CRLF's to line feeds on Linux
How can I convert DOS txt file to Unix txt file, so I can use my Linux parser properly?
I was messing with Openbox, LXDE, and Pekwm a couple days ago to see if I liked any of them, but I ended up coming back to gnome.
But it seems that, somehow, some of my preferred apps settings got wiped during this process.
The most annoying one, is I have no default application for archives (zip, tar.gz, etc). I can tell Ubuntu to "Open With..." and that works... but it doesn't stick.
How can I return this back to normal Ubuntu behavior?
UPDATE: It appears that nearly ALL my preferred application settings are gone. Pretty much everything except couple filetypes show up with the standard "file" icon and won't open unless I use "open with".
I have a 7zip archive and I would like to extract certain files from with it. Is there a way to do this without un-compressing the entire archive? I know these files exist in there because I am using the "7za l" command to view the files contained in the archive.
View 3 Replies View Related[URL]...I open the file and it shows a bunch of files and I dont know how to make it install for my login. What am I suppose to do?
View 1 Replies View RelatedI am using Ubuntu 10.10 and I started to have a kind of annoying problem with file-roller. I do not know what I attempted to unpack or pack form my USB HDD a couple of days ago, but when I did I got a message from the archive manager, the message was: "Could not create the archive, Archive type not supported." Well, I just shrugged, and continued doing whatever I was doing, but later I noticed that whenever I tried to open the HDD for whatever reason from "PLACES" in the main panel, I was getting the same error message over and over again.
It is not produced when I open the HDD from the Desktop link in my Desktop, that link will open the HDD with no problems. But if I try to access the HDD from "PLACES" in the main panel I will always get the same error message. Ok, what have I tried: since the archive manager window shows the "file-roller" logo in the menu button, I assumed that file roller is stuck with the previous process for which it produced an error, therefore I tried to "kill" any pending processes by several ways: Login-off, re-starting and turning the computer off.
That did not worked. Whenever I attempted to open the HDD from "PLACES" the same error "Could not create the archive, Archive type not supported." will return. Assuming that nautilus was stuck with the process I tried to kill any pending processes by using Alt+F2 and trying to kill the pending nautilus process using:
ps -e | grep nautilus
and then the command
kill {####}
That did not worked either. I was tired and uninstalled "file-roller" using the software manager, this solved the problem. But I actually use "file-roller" so I re-install the program and the problem returned. I tried to uninstall the program using synaptic manager using the "Mark for complete removal" option, uninstall, re-install and the problem was there. I uninstalled all the other recommended packages that were installed along with "file-roller" using synaptics and then just tried to install "file-roller" alone, the problem is still here.
Then I thought it was a problem related to the HDD. So I went ahead and re-formatted it using the EXT4 file system with no partitions. Re-booted and the problem is still here. Whatever process I started with "file-roller" or one of its companion pkgs is still active somewhere, I believe is "alive" in the system's HDD, because it returns after a complete uninstall/reboot/install process. I do not want to mess with "nautilus" itself, Do I need to uninstall/reinstall "nautilus-data" pkg?
System: Ubuntu 10.10, running solo in an EXT4 single partition.
Desktop: Gnome v2.32.0
Programs: file-roller v.2.32.0-0ununtu1; unzip v6.0-4; zip v3.0-3; xz-utils 4.999.9beta+20100527-1
USB HDD: 500GB, single partition, EXT4 file system.
How to archive content of directory to file and also how to extract archive from file to directory just as below.
If first argument is a directory and second argument is a file, user is prompted to choose whether to archive content of directory to file or extract archive from file to directory.
How to open and run file with extension nds in ubuntu linux?
View 1 Replies View RelatedI installed Minecraft and I want to hide the .JAR extension on the file on my desktop. I tried just renaming it and deleting the ".jar" from the name, but when I tried opening it, it opened as an archive, rather than an executable, even though I had the "Allow executing file as program." box checked off. What can I do to hide the extension?
View 1 Replies View RelatedI used 7z to create a multi-volume 7z archive file with 0 compression rate. with this command:
Code:
7z a -t7z -v1g -mx0 /home/movies/documents.7z /home/documents
a stands for add
t stands for type definition
7z stands for 7z archive type
[Code].....
I'm trying to install CryptoHeaven onto my computer from the tar.gz archive file (CryptoHeaven.tar.gz) provided by their website.
PS: They also have another installation variant for Linux with "unix.sh" on the end
I use Unison to synch files between my netbook and desktop. Have done for a while without issue. I hadnt used it for a while and now, when doing so, i cannot get it to work.I get the following error message:
Code:
Looking for changes
Fatal error: Warning: the archives are locked.
[code]....
I didnt used ubuntu till now..and now i decided to start with ubuntu and downloaded the iso file torrent from Complete Download Options List | Ubuntu named ubuntu-9.04-desktop-i386.iso.torrent...but after downloading it shows that its a winrar archive......can i do anything with this rar?
View 3 Replies View Related