Fedora :: Compressing Collection Of Text Files?

Nov 6, 2010

i have a collection of text files for 50 gbs..i want to compress these files and store them into dvds.i want to know the present popular optimized method to compress the files.let me know masters.

View 1 Replies


ADVERTISEMENT

General :: Command Line - Compressing All .pdf Files Recursively (.tar)?

Jun 20, 2011

At the linux command line, I'd like to compress all .pdf files in a directory, any of it's subdirectories and so on - but only .pdf files. I'm struggling to figure out the syntax

View 2 Replies View Related

General :: Bash - Compressing Files Despite Low Disk Space?

Jul 18, 2011

I use Linux. I coded a screenshot program some time ago and now I have 9 GIG of screenshots, 60000 JPEGs, most of them look pretty similar, and I have 300 MB of disk space remaining.

What are some good ways to start to compress batches of them (or all of them) in the background given the limited space? The problem with compressing the folder all at once is that I wouldn't have enough disk space for that. It seems the process needs to be broken down into chunks. So maybe something like: Get a list of all the files Add a chunk of the files (say, 20) to a compressed archive. Once it is done and saved successfully, delete the chunk of files

View 2 Replies View Related

Ubuntu :: Get Task Bar For Commmand Line For Tar.gz - Tar.bz2 When Compressing Files?

Mar 17, 2011

How do I get a task bar for the commmand line for the tar.gz or tar.bz2 when compressing files? I want a task like wget has for download and like you get when you tar.gz or tar.bz2 with a gui.

View 6 Replies View Related

Fedora :: Use Rsync To Backup My Music Collection - Add Files To The Destination Drive?

Mar 6, 2010

I'm currently learning to use rsync to backup my music collection. I have a Firefox tab open to the rsync manual page(s) and have been reading man rsync and running experimental rsync operations.I've been doing this for the last 3-4 hours. I've used rsync for this purpose in the past with disastrous results. What was and is once again (due to a month and a half of file pruning) a 9000 file music collection had mysteriously grown to over 25,000 music files and 80GB of data! This was likely due to the fact that I didn't really know what I was doing with rsync and had never spent too much time learning about all the parameters, what their functions are and how they may relate to my goal.Here are the particulars:

* Source drive is a 500GB disk, /media/sata500/music/.

* Destination drive is a 250GB USB disk, /media/FreeAgent/music, connected to the same computer that houses the 500GB disk.

* I want to copy or backup files from /media/sata500/music to /media/FreeAgent/music.

* I do not want to create ANY duplicates of files that exist.

* I only want to add files to the destination drive if they are new on the source drive, like if I rip a CD and add the contents to the source. I want them copied over next time I run rsync.

Here's the rsync command in it's most recently used form, and probably very immature at this point.

Code:

rsync -t -r -vv --stats -i --log-file=/home/glenn/rsync.log /media/sata500/music/* /media/FreeAgent/music/

This appears to have copied all files and folders and I'm satisfied that my goal has been met with some success. To convince myself of this I ran the command and then once it was complete I added 2 new songs putting them in their respective folders on the source drive and ran the same command again. The resulting output was

[code]....

Two files transferred. Exactly what I want.Both folders now house 20,931 files and use 40.6GB. Identical as far as I can tell.What I'm concerned about are time stamps and play count data, etc. Anything that changes the original file. I don't want this data to cause a file to be transferred as I'm afraid that the new file will be created along side the old file of the same name thereby starting this whole music collection expansion thing all over again. I've invested a lot of time and effort to get it pruned down to where there are virtually no duplicates and albums are correct in that they contain the proper songs in the proper order.

View 14 Replies View Related

Fedora :: Command Line For Compressing Using Rar?

Apr 1, 2010

anybody know how to zip a folder with 500mb?i want to create zip files with about 100mb each. please?

how do i do it in rar?whats the commandline ?

View 7 Replies View Related

Software :: Join 2 Text Files Based On First Number Present In Every Line Of The 2 Text Files?

Jan 22, 2010

I have 2 text files : file1.txt and file2.txt

cat file1.txt

15 this is a sentence containing various words and spaces
34 this is a another sentence containing various words and spaces

cat file2.txt

2 this is sentence1file2
6 this is sentence2file2
54 this is sentence3file2

I would like to join these 2 files. The result should look as follows :

cat joinedfile.txt

2 this is sentence1file2
6 this is sentence2file2
15 this is a sentence containing various words and spaces
34 this is a another sentence containing various words and spaces
54 this is sentence3file2

==> so the joined file must be sorted on the first number. Any ideas how this can be achieved ?

View 4 Replies View Related

Fedora :: Compression Ratio For Text Files / Binary Files

Apr 15, 2011

Fedora provides several compression techniques. E.g tar, tar.gz, zip etc. I want to know which among them provides

1. the best compression ratio for text files

2. the best compression ratio for binary files

3. fastest compression

View 6 Replies View Related

General :: Counting The Occurrence Of A Word In A Collection Of Files?

Jun 16, 2010

I am trying to find the word count of a specific word in a collection of documents, in Linux.

I have tried with grep and ack-grep in combination with wc but I can't seem to come up with a valid combination of pipes :)

View 1 Replies View Related

Ubuntu :: Bookmark Manager - Merging Files Into Single Collection

Jun 2, 2011

During the past eight years I've used a number of computers with different operating systems and browsers. On each one I made a habit of using the bookmark utility of each browser and saving the bookmarks file. I never ensured the continuity of the bookmark file - with each new computer I started a new bookmark file. Even when I was reinstalling the operating system I didn't import the old bookmark file in the newly installed browser: I've always started a new bookmark file. As a result I have tens of bookmark files for Firefox (json format - some kind of xml?) and IE (html file format?) each one containing hundreds or thousands of saved links. I have also some files containing links in text format (created usually when I was using someone else computer).

I would like to be able to manage this bookmarks files by using some sort of "bookmark manager" software. The "bookmark manager" should be able to merge the bookmark files into a single collection/file. It should be able to identify and remove the duplicate entries (I have timely versions of the same bookmark file) and also it should be able to group the entries/links on categories (for example the bookmarked articles on codeproject.com should be grouped under the codeproject category). Not to mention that it should provide a search facility to quickly locate the interesting bookmarks. I couldn't find such software in ubuntu software center. Do you know something that even comes close to what I need?

View 9 Replies View Related

General :: Amarok - Collection - Scanning Is Not Finding Any Music Files?

Mar 13, 2011

I have been using Linux close to 2 years now. One thing that always bewildered me is audio support in Linux. These days I login to windows only for listening to music. After reading various blogs, i decided to give it a try in Linux with Amarok. There again I am facing a problem.

while i try to scan for music files it is not finding any files.

what I did is as follows:

Quote:

Setting --> configure Amarok --> collection --> scan

I have tried with mp3 .wma format files. While I try to add these files individually, Amarok is able to play those.

I am using Amarok 2.3.2 with KDE 4.4.5. Fedora - 12 is my flavor.

Given below is the log obtained with amarok -debug option

Quote:

TagLib: MPEG::Header:arse() -- First byte did not match MPEG synch.
TagLib: MPEG::Header:arse() -- Invalid sample rate.
TagLib: A frame of unsupported or unknown type 'TSC' has been discarded
TagLib: A frame of unsupported or unknown type 'TSC' has been discarded
TagLib: A frame of unsupported or unknown type 'TSC' has been discarded

[Code].....

View 3 Replies View Related

Ubuntu Multimedia :: Amarok Wont Update Tags For Files In Collection

Feb 9, 2010

I have most of my music on my hard drive in one big "Music" folder, and in Amarok this is seen as the collection. Everything is imported, works fine.

Until i change the ID3 tags of a file/album. Amarok refuses to load the new tags, and keeps displaying the old tags.

I have over 200 GB of music in that folder, some of it is badly tagged. When i realize that, i retag the files with Musicbrainz. And unless i scan the entire collection again, the new tags wont be loaded. Needless to say i can't listen to the respective album/file for hours, as the rescanning of that whole folder takes at least one hour.

View 6 Replies View Related

Fedora :: Cannot Create Text Files While Using SU

Sep 9, 2011

Every time I try to create a text file with gedit while using su I get this error:
(gedit:2401): EggSMClient-WARNING **:
Failed to connect to the session manager:
None of the authentication protocols specified are supported
**
GLib-GIO:ERROR:gdbusconnection.c:2270:initable_init: assertion failed: (connection->initialization_error == NULL)

Aborted (core dumped) I'm following the Fedora Bible (2010 edition) and I'm trying to get KDE up. This is what it says to do: After running switchdesk or switchdesk-gui, you need to perform one other task. As root, edit or create the file /etc/sysconfig/desktop. Add the following lines to the file:
DESKTOP="KDE"
DISPLAYMANAGER="KDE"

However, I receive that error. Does it want me to log in as root? I tried and it wouldn't let me, so I tried looking up how to do it, and I needed to change another text file with su (which is my problem in the first place). Just to be clear, this error occurs in any directory that I'm in. (home, or otherwise)

View 2 Replies View Related

Software :: Use Sed To Include A Text File In The Beginning Of Other Text Files Inside A Folder And Its Subfolders?

Jun 1, 2010

Can I use sed to include a text file in the beginning of other text files inside a folder and its subfolders? So it should be recursive.

View 4 Replies View Related

CentOS 5 :: Text User Interface To Configure Text Files

Nov 5, 2009

I would like to write a text user interface (TUI) to adjust some text config files etc. Is there a tool or application for creating TUIs like this. I�m talking about those types of config tools which you see executed at first boot.

View 19 Replies View Related

Fedora :: How To Run Pdf Files On Terminal Through Text-only Mode

Dec 30, 2010

I want to run pdf files on fedora 13 through text-only mode(i mean not gui but when i change it to init 3).At gui i know how to do it by converting pdf to html but if we are not at gui?

View 4 Replies View Related

Red Hat / Fedora :: Remove Particular Line Of Text From All Php Files

Jul 21, 2010

My site was recently hacked and a line of <JAVASCRIPT> was inserted into all my php files. Is there a way to pull just that one line out of all the php files on the server? I was thinking of using a grep -iR <CODE> *.php then piping thru sed

View 1 Replies View Related

General :: Loop Append Text To Text Files?

Jan 15, 2010

may be an advanced question but I need to know how to do this. Here at work I am in charge of recruiting and we have about 1,000 resumes in already. All of the resumes are in a .pdf format. I need to rename every .pdf in the following format:{firstnameLastname}.pdfThe only way I know how to do this is to convert all the .pdf files to text, extract the name out of the first few lines of text, import into excel, and then use VBA to rename the files in mass:Here is my logic so far:~Deskop/a = houses all the .pdfresumesOpen terminal: Code: cd ~/Desktop/afor f in *.pdf; do pdftotext -raw $f; done That will convert all of the preceding resumes into text filesNow I would like to append the name of the text file into the last line of the text file. So, for example, for Resume1.txt, I want to append "Resume1.txt" to the last line within Resume1.txt. So after I run the command I open Resume1.txt and on the last line within I want to see "Resume1.txt" on the last line, at the end of the resume.How can I do this? I would like to use a loop and have the terminal append the filename to the body of the text file until all of the have been appended.

View 1 Replies View Related

General :: Search Text In All Text Files Of All The Sub-directories?

Apr 21, 2010

Currently, when I'm searching text in files of my PHP project, I use this line :

Code:

grep -r 'myTextToFind' *

But now, I would like to search only in ".lang" files. How can I do that ?

View 7 Replies View Related

Fedora :: Delete Character MS-DOS Text Files On System?

Aug 17, 2011

We had seen some time ago, various tricks to remove the character MS-DOS text files on Linux. Here is a new trick to do this directly from the vim editor.
to convert a file opened with vim in UNIX format, simply use the following command code...

View 2 Replies View Related

Software :: Tar Compressing In Particular Directory?

Mar 27, 2011

I want to archive all files in particular directory into certain archive, so let's say i have

/tmp/tmp.4578/new/changed
/tmp/tmp.4578/new/changed/empty
/tmp/tmp.4578/hello.c

[code]...

View 3 Replies View Related

Fedora :: Create Text Files With Mathematical Notations And Symbols?

Sep 2, 2010

Does anyone have the name of a good program that will allow me to create text files with mathematical notations and symbols? I like to ptake notes at school on my laptop but I find it difficult to do so in my math classes. I just downloaded a program called Mirai Math. Haven't tried it yet but it looks a little to clunky. I'm looking for something simple.

View 7 Replies View Related

Fedora :: Amarok Can't Scan My Collection

Feb 21, 2010

Ok, I stopped using Fedora after the version 9. Today for a change I installed Fedora 12. And now I am in an endless world of troubles.At first I was able to video call friends on msn. But it wasn't working. And then I found this guide and did everything it says. Now it's even worse, audio and video call buttons are greyed out?

Amarok is a critical software for me. No Amarok, no Linux. I installed the amarok's latest version through yum. But amarok can't scan my collection. It keeps giving this error "[ERROR!] Tried to query an uninitialized m_db! ".???

View 14 Replies View Related

Fedora :: Amarok Crashes When It's Scan Collection?

Jun 7, 2010

I upgraded my fedora 12 to F13 last night by Fedora 13 DVD. then i updated my F13 using this code:

Code:
#yum update
so when i tried to use amarok it couldn't scan my collection and crashes.
after that i removed my amarok folder using this code:

[Code]....

View 1 Replies View Related

Fedora :: Bulk Resize A Collection Of Images?

Aug 25, 2011

How do you bulk resize a collection of images?

View 8 Replies View Related

Ubuntu :: What's The General Purpose Compressing Format

Jan 14, 2010

I have a folder that may contain text documents, pictures, MP3s, video clips, all sorts of stuff. Supposing that, within reason, I'm not too bothered how long it takes to compress and uncompress them. And suppose I don't care if it's free or open source (well, has to be free as in beer). What's the best compression format/algorithm (whatever it is that I install in Synaptic and choose from the drop down menu in the compression tool) I should use?

View 9 Replies View Related

Fedora :: Get Rid Of Simon Tatham's Portable Puzzle Collection

Oct 13, 2010

I added a large collection which are described as being from Simon Tatham's Portable Puzzle Collection. I'd like to eliminate them from my games menu, but I can't remember what the package I added was called.

View 1 Replies View Related

Programming :: Command For Find/Replace In Text Files (inc. Files In Sub-folders)?

Oct 11, 2010

I found this command that works great finding and replacing a simple string to another in files located in that folder and all sub-folders.

Code: find . -name '*.php' | xargs perl -pi -e 's/OldText/NewText/g'

The problem I have is that I need to replace a more complex string, like this: Old string: /mnt/stor6-wc2-dfw1/627896/982574/ New string: /mnt/stor8-wc2-dfw1/369587/302589/ There I don't know how to do it... since the / is what separates the old from the new strings, and the strings that I want to replace have / in it. Also, I would like to know how to specify under what folder replace the files, for example, I want that it search/replaces all files under /var/www/mysite/htdocs folder.

View 1 Replies View Related

Software :: Differentiate Two Large Text Files Using Shell Script / Files Are Like Below?

Jan 20, 2009

I want to automate this using script.How to automate it?

File1:
s.no# 1 name:aaaaaa
city:abcd

[code]...

View 1 Replies View Related

General :: Convert Open Office (odt) Files To Text Files?

May 25, 2011

How do you convert Open Office (ODT) documents to Text files?
I have made a report using libre office. Now I wish to continue editing the document using lyx (latex front end). So the ODT file needs to be saved as some .tex file.

I don't see an option to do this in File menu (export/save as). So is there any other plugin to do this?

View 1 Replies View Related







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