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?
I've been building my digital music collection for some time and used to house it on a local drive with no quality issues. A while back I built myself a file server using ubuntu and mdadm in a raid1 configuration to protect against potential drive failure. I link my iTunes library to the music files via a samba share and everything works great on the surface. I've started to notice that random songs are becoming corrupted with pops clicks and silent pauses. I'll even re-download an album and notice that it's corrupted a few weeks later. Now I'm at a loss to what is causing this issue; I ignored it at first but it seems to be getting worse and more widespread as time goes on.
Do you think this could be caused by mdadm? It reports that all is fine via 'cat /process/mdstat' but I wouldn't know where to look or what to look for if there were syncing issues. The other possibility is that I have iTunes set to keep my music folder organized for me, but I've never heard of it actually corrupting the files it shuffles around. The bottom line is that my library is getting crappier as time goes on and I cannot stand for that!
i am downloaded some e-books in the format .rar. when i am extracting them i am getting error as There is no command installed for RAR archive files. Do you want to search for a command to open this file?
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
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?
surprisingly come across this file that the ubuntu archive manager is simply unable to unpack.these are some articles that i am trying to download.strangely i have never heard of the format and the page asks me to download "stuffit expander" to allow me to view the pdf files. however when i download the file saving it on the desktop, and try to open it, archive manager is simply unable to do so!this is the title of the downloaded file -
opensuse v11.2, linux 2.6.31.12-0.1-desktop x86_64 ZIP v2.32
I wish to exclude some files from a zip archive. On other OSes to exclude an entire directory I would use the "-x" option like so:
Code: zip -r archive-name * -x dir1/* Simple. And just add "-x"'s as needed (or use an exclusion file).
Not how it works here, it would seem. AFAICT all "-x" options are ignored. (The entries in an exclusion file also.) For instance, "-x diy/mplayer/*" should ignore everything in the <diy/mplayer> directory. It does not. I have tried fully qualified paths as well; no joy.
I'm trying to create backup/archive my Ubuntu 10.04 system files (so I can restore it in case my system get corrupted). More specifically, I'm trying to zip the important files in my root directory not including my home directory (which includes my documents which I backup separately/more frequently) to an external hard drive attached via USB (called 'My Book').
Since File Roller didn't give me quite the level of control I was looking for, I created a script that I could execute to backup and archive regularly. Here's a snippet: cd /media/"My Book"/"Linux Backups" NOW=$(date +"%b-%d-%y") LOGFILE=Backup_Root_FileSystem-$NOW.log sudo zip -r -T -v Backup_Root_FileSystem-$NOW / -x /media/'My Book'* /media* /proc* /sys* /mnt* /dev* /cdrom* /home* /'lost+found'* | tee -a $LOGFILE
I have a .tar archive of music that I would like to extract specific files / folders from. I've been looking at man tar but I don't seem to be able to find any information related to my quest, although someone will likely point out that it's right there in front of my nose
Anyhow, the file is called music_archive.tar and I would like to extract the folder /music/P/Pink Floyd/The Wall/. Anyone know how to do this
When 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.
If I understand everything right I can use simple cd to create an install of my system then config everything and create an archive of /etc,/var,/usr and that give me a backup of my changed files. but what I am not able to do is create a script to replace the files with the archived version of the config files automatically. I need it to be ran as a post intall script or to configure the conf files as part of the install. what I configure on every reinstall. apache,proftpd,mysql,php,and wordpress. Since I am still learning I reinstall a lot and standard backups have not been working for me. But I can put the whole install including backup on one cd. Is there a way replace only the change files from the archive. or getting a list of just the modafied files on my system.
AKA "zipping on the fly .. the slow-as-molasses way." The list includes full pathnames to each file, and they're all in subfolders of the same parent folder (which, unfortunately, is not the root folder of the drive or system on which the files reside). A cleaned-up and radio-ready portion of the list looks like
What I'd like to be able to do is zip all the files in the list into a single archive, to avoid the step of having to copy them to the same location (presumably another folder on the HD) and then zip that folder. I'm more inclined to make provisions about extracting to a single folder at some other time. Is this possible in BASH, or would I have to consider a faster, more robust scripting language such as python or perl?
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.
The music files as named like the following: 01 Music Title. I would like to get them as: Band Name - Music Title. I looked into the rename command and I was thinking of doing something like this:
Code: rename "s/(the first two integers)/Band Name -/g" *.mp3
The problem is that I don't know how to indicate the first two integers. Does anyone know how to do this?
How does one transfer music from a MTP device to the Music folder? Or upload music from the MTP device to programs such as RhythmBox, Banshee, etc.? I have tried using Gnomad2 to no avail and I have exhausted my self searching the online Ubuntu community forums and doing searches on search engines regarding this subject reading through countless article of users trying to get Linux system to recognize or mount their MTP devices.
My system does recognize and mount my MTP device (Creative Zen Micro) and the Music Players (RhythmBox, Banshee, Amarok, VLC, XBMC) all access and play the music without any problems. I just want to transfer or copy the music from my MTP device to my system.
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 ?
On 9.04 using rythymbox i had no dramas upgraded to 9.10 and started trying different music players, songbird being the latest i copied my family's entire cd collection - about 250 cd's i have added another 150 album's by download, so about 400 albums but Rbox tells me i have 600 albums and 16000 tracks!!!!!!! Some of my music file have multiplied so much so that some albums have 8 copies of each track mp3 and .ogg in equal numbers i have searched preference setttings in all music players but find nothing what i want to know is, Is there a program that gets rid of the duplicates i tried songbird to get rid of ghost tracks and duplicates but it just freezes, i even left it "running" or frozen or whatever for 3 days
I have a music archive on several computers, from time to time do I add, remove or change the archive on one computer. To keep this changes will I have to copy the new version of the music archive to all the other computers.
is there a program that can sync the music files. Let say that I update the info in one music file, then will the sync program notice the newer version and replace the old file with the new files on all the other computers.
I guess I would need a dedicated server for this where all changes are stored with some kind of version number of the music archive. Since not having a server would make everything (I guess) much more complicated. All computers would have to communicate with each other to check for a new version instead of only communicate with one computer (the server).
I can now get Ripit to run, but right after its got the artist and track data and displayed it, it then says it can't write to the error log on my output path.However ripping and encoding of the music seems to happen as it goes through all the tracks, but at the end the same error message appears and I get a message saying the time to rip = 0 and the time to encode = 0. When I look at the output directory there's nothing there.For the output directory I initially had the file output as /home/westers/music - that's my username and I have the directory music created, but I still got the error message.
I then thought the problem was because /home/westers/music is setup to use a USB attached hard drive as it's disk drive and so I should actually be pointing the output to this drive because the drive is mounted to /home/westers/music. When I change the output to /dev/sdb (the hard drive name) I still get the same error message.I know the drive has mounted properly because I can see it has on the desktop.fpermission is set as the default, although I can't find any info about what the default options actually mean (google, the man page and the readme don't say what the options mean).So how can I get my music to be saved to the usb hard drive such that /home/westers/music can see it?I'm ripping the music to a flac file if that makes any difference.
I 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 ...
According to the man page, rsync should copy "special" and "device" files if the corresponding options are set. Also the man page says that the -a option (--archive) includes the -D option, which is "same as --devices and --specials". BUT We use the -a option, and still get the following in our report:
I have 64-bit ubuntu 9.10 server edition running in a media server for my house. But over the last few months I've discovered that its loosing files! Its not all files, Just music. It will lose anywhere from about half an album the every song in the folder, leaving the artwork if it was in there. At first i thought It was iTunes reorganizing my files, but thats not the case, as i've looked around for them, and told iTunes pretty much to stop messing with my file locations. My boss who's pretty Linux savvy says that 9.10 is really buggy. I've tried doing updates (sudo apt-get update/upgrade) but its still losing music.