General :: Does Tar Provide Method To Tar Up Only Files Listed In Particular File?

Feb 4, 2011

I have a file that is a list of other files, lets say FilesIWantToTar.dat. I want to say something along the lines of tar -c input-file=FilesIWantToTar.dat archive.tar or similar. Does the tar utility provide this functionality, or do I need to write a simple script?

View 1 Replies


ADVERTISEMENT

Ubuntu :: Delete All Files Listed In A Text File?

May 26, 2010

Through various Windows reinstalls and switches within Linux distros, I have a massive amount of duplication within my music archive (on the order of 7+ dupes of each file). Now, I found a lovely program called "fdupes" and was able to build a list of all the duplicate files, and I'm trying to use "xargs" to remove then. However, when I try and run the command "xargs -0 --arg-file="dupes.txt" rm" or "xargs -0 rm < "dupes.txt"" it give me the following error: "xargs: argument line too long".

how perhaps a different way of accomplishing the same thing?

View 9 Replies View Related

Ubuntu :: Moving Files Listed In Text File?

Jun 14, 2010

I've got a text file listing 1823 files that need to be copied from their current locations, i.e.To another folder, any idea how I should do this?

View 4 Replies View Related

Ubuntu :: Scripting - Copying Files Listed In A Text File ?

Apr 15, 2010

I've got a text file with a list of .gz files, these .gz files are in various sub directories of one parent directory and I've hacked this little script together to copy them from their current location to a new one and spit out any it can't find to "/home/user/not_found" but for the life of me can't get it to run properly!

The shell script as it currently looks:

Code:

View 4 Replies View Related

General :: Use Symlink To Provide Access To A Specific File Under A Restricted Directory

Jan 24, 2011

My home directory's permissions allow only myself access to it. Is it possible to put a file inside my home directory with.. say.. full permissions, and create a symlink to it so other users can access that file alone inside my home folder? System is Ubuntu Karmic.

View 2 Replies View Related

General :: How Many Files Should Be Listed As Open Under Lsof

Jul 10, 2011

I am not an advanced Linux user. I have a VPS with 768MB of RAM running CentOS.I executed the lsof command as root and I see that there is a list of 3000 files. Usually, how many files should be there? My system is getting very slow, so is this list too long?How do I know which files to keep and which to close?I have seen that there are multiple copies of the same files with different PIDs. There are many log files in the list that I have not opened. Is this normal?total used free shared buffers cachedMem: 104287 492 103794 0 0 0

View 2 Replies View Related

General :: Find The Location Of The Files Listed Using Rpm -qa?

Feb 24, 2011

does any one have any idea how can I find the location of the files I listed using rpm -qa?

eg, 1 of the result returned from rpm -qa is yum-3.2.22-20.el5 how can I find the location of this program?

View 4 Replies View Related

General :: GUI Method To Copy (duplicate) Files / Media?

Sep 23, 2010

Is there a GUI method to copy files or is this always done with the Bash terminal.

View 6 Replies View Related

General :: Unable To Find Directory Listed In /etc/crontab File?

Feb 10, 2011

when a script in /etc/cron.d directory will be executed?. I know that scripts in cron.daily will be executed daily [ set in /etc/crontab file]? Cant able to find this directory listed in /etc/crontab file?

View 2 Replies View Related

Programming :: Sed Delete Lines From File One If Regexp Are Listed In File Two?

Sep 17, 2009

I am trying to delete lines of a file if they contain text that is present on another file. For example

> cat one.txt:

a
b
c
d

[code]....

I get the following output:

> ./test.sh one.txt two.txt
a
b
d
e

[code]....

View 6 Replies View Related

Ubuntu :: Control What Buttons/menus Are Listed And Which Icons Are Listed Under Each?

Jul 26, 2010

i just upgraded to ubuntu 10.04 the netbook distro. at the desktop view there is a list of about 10 buttons/menus listed on the left hand side, is there anyway to control what buttons/menus are listed and which icons are listed under each of them? having a netbook i would like to remove and unclutter the desktop view as much as possible but i dont want to remove those apps i still want to be able to open those apps if i want to even if by removing those icons and menus/buttons makes it a pain.

View 1 Replies View Related

OpenSUSE :: Files Are Listed With Green Block Background?

Nov 2, 2010

Using a terminal shell and entering ls -l, all the files in the user /home/user1 appear with a green block background. The files in /home/user2 have standard Linux colors. What does the green block mean?

View 1 Replies View Related

Ubuntu :: Wont Find Files And Some Programs Are Not All Listed?

May 18, 2011

just downloaded Ubuntu 11.4 and would like to know how to get rid of unity. I don't like the way unity works. it wont find files and some programs are not all listed and I hate the way it looks.is there a way to go back to the old Gnome desktop?

View 7 Replies View Related

Ubuntu Servers :: Controlling Files Listed By Directory Request

May 5, 2011

I use Apache 2.0.55 (Ubuntu) as a document server for a business association. When the document files expire, I change the permissions so that only the owner can open them but I like to leave them on the server so that they are all in one place.

Here is my trouble--when visitors come to the site and get the directory listing, all the document files show up, whether the visitor can access them or not.

Is there some way to configure the server to not show the inaccessible files?

I guess a few technical details might help. During their useful lives, the files permissions are set to 644. Once they expire, I change them to 600. After the change, the files are still visible. Setting them to 000 doesn't help either.

It might be of note, but directories behave differently than files. If I set a directory to 600, it disappears from the listing.

View 2 Replies View Related

Ubuntu :: Convert A DVD To MPEG Files Using The Method Without Encoding?

Jan 15, 2010

I have been having a problem with K9 Copy whenever I try to convert a DVD to MPEG files using the method without encoding, but for some reason lately it seems to be splitting each episode into about 6 or 7 pieces instead of just one. I never usually have a problem with this, but for some reason it seems to be doing this whenever I try to rip something. On a side note, I am running on Obuntu 9.10 and have K9Copy version 2.3.0 installed. I have tried installing several other versions, but it does the same thing with each.

View 9 Replies View Related

Ubuntu Installation :: Md5sum: WARNING: 1 Of 62 Listed Files Couldn't Be Read

Oct 17, 2010

In order to upgrade a machine that can not successfully upgrade to 10.4 I downloaded and burned the 10.04.1 iso image off the ubuntu alternate download site. In my first attempt I unsuccessfully burned the image with it failing at the very end. I did perform an md5sum on it and received the precise output I got from my second burn attenpt which DID complete successfully. Here is the output:

[code]...

I did research this last night and it seems the common wisdom was to reburn the iso (which I did twice) or copy down the iso again. This I also did and it came down precisely, bit for bit, the same as the first one. Here are the two cksums

[code]...

Is there something wrong with this image on the website or is the error about 1 file being unreadable (could that also mean missing?) be erroneous?

View 2 Replies View Related

General :: Possible To Provide 20gb To One User And 10 Gb To Another

Feb 15, 2010

I am provisioning a server rhel5.3. I am creating 2 users in the box other than root. The default home dir is going to be /home filesystem (30GB).Is it possible to provide 20gb to one user and 10 gb to another?

View 5 Replies View Related

General :: Provide Response To Command Output ?

May 4, 2011

I am writing a bash shell script on RHEL. I need a way to analyze the output from a command, and provide a response to that command depending on what is found.

On the command line this looks like:

In other words I want to script this - capture the output from the mlsmailbox --delete command, respond with a yes if the mailbox was found, and go on if it was not found. There may be other responses to the mlsmailbox --delete command that I need to analyze and respond to as well.

View 3 Replies View Related

General :: Generate Without Password Or To Provide Script

Jan 26, 2011

system debian php-4.x.x.src.deb. What actions should be performed that would build the binary deb with support memcache, mhash, and mcrypt? Assume that all the required packages of libraries installed on the system. system centos php-4.x.x.src.rpm. What actions should be performed that would build the binary rpm with support memcache, mhash, and mcrypt? Assume that all the required packages of libraries installed on the system. There is the software raid1 md0 Disc / dev / sda / dev / sdb. You must configure grub, that would have been able to boot from both drives. Assume that only one section ("/"). Generate for httpd ssl key and integrate into the system. to generate without a password or to provide a password script. Scan open ports and see what processes are installed network connections. What ports must be left open to normally closed firewall for full operation and setup http server (http, https)? Write a shell script that would produce an analysis of processes mysql and delete those that connection more than 5 minutes excluding system processes (eg replication), as well as sending mail warning in the log if an error occurs mysql string ABCDEFGH. Provide autostart at boot time (integration in init.d), protection against re-run, exception handling (when using lock files).

View 3 Replies View Related

General :: Have Failed To Provide Proper Authentication?

Sep 8, 2010

i am using fedora 12(32 bit),when i tryed to uninstall program pidgin from system->administration->add/remove programs i got an error message saying tat YOU FAILED TO PROVID PROPER AUTHENTICATION,so i was jst wondering if we can sign in as root through gui.the problem with my pidgin app was that whenever i tryed to start that application, it appears for like 4-5 sec and then disappears! so i thought of reinstalling the pidgin.

View 4 Replies View Related

Ubuntu :: Unable To Use K9 Copy When Try To Convert A DVD To MPEG Files Using The Method Without Encoding

Jan 15, 2010

I have been having a problem with K9 Copy whenever I try to convert a DVD to MPEG files using the method without encoding, but for some reason lately it seems to be splitting each episode I am trying to rip into about 6 or 7 pieces instead of just one.

I never usually have a problem with this, but for some reason it seems to be doing this whenever I try to rip something. I am running on Obuntu 9.10 and have K9Copy version 2.3.0 installed. I have tried installing several other versions, but it does the same thing with each.

View 6 Replies View Related

Fedora Installation :: Which Install File / Method Do I Need

Apr 15, 2009

I'm looking into using fedora as my first Linux OS, read rookie, I have an old HP PC with a brand new hard drive. I downloaded the 'F10-i686-Live.iso' file and tried to boot from it. It brought up a Fedora screen with various boot options and a memory test. I did the test which completed a successful pass. I then tried to boot from it, it showed the horizontal loading bar which turned white, after which the screen went black. From there the screen switched from blank to 'lit up black' , sometimes it showed a cursor which was mouse responsive, sometimes it showed a blinking underline cursor in the top left corner of the screen. Eventually it just stayed blank. Any threads I've checked are irrelevant or refer to a more options or command line option that isn't on the setup screen. Have I the right file/method?

View 1 Replies View Related

Ubuntu :: Check The File's Compress Method?

Feb 1, 2011

I have a compressed text file. The method of compress is unknown.I can see the file contents by using Midnight Commander without a problem but I would like to view the file just with cat. So I am trying to uncompress the file with unzip or gunzip but it does not work.How to check the method the file is compressed with? Is any way to find it with Midnight Commander?

View 4 Replies View Related

OpenSUSE :: Possible To Remove Multiple Packages Listed In A Text File?

Sep 15, 2011

Is it possible to remove multiple packages listed in a text file? Similar to "cat orphan.txt | zypper rm" or "zypper rm <orphan.txt." Neither worked.

View 8 Replies View Related

Ubuntu Security :: 'Securing' A .pdf File And Changing The Listed Author?

Aug 18, 2010

I had some help via email from someone drafting my CV into the correct table format with open office. It's a .pdf file but now unfortunately lists the author in the document tab of properties as that person.

Is there anyway to change it to my own name, and also how do I 'secure' the document so that it's not easy for people viewing it to copy and paste, I've heard this is why many people now use .pdf for their CVs/rsums?

View 2 Replies View Related

General :: Install To Provide Sha1 And Sha256 Checker?

Jun 12, 2009

Debian 5.0

What package I need to install to provide sha1 and sha256 checker?

View 2 Replies View Related

General :: Provide Tech-talk On X Windows System?

Apr 5, 2010

I have planned to provide tech-talk on x Windows System. Any Resource where I can get detailed information regarding the same.

View 2 Replies View Related

General :: Provide Sudo Access To Oracle User?

Dec 9, 2010

I need to provide sudo access to Oracle User, run only this particular "SRVCTL" command.

Do I need to edit "sudoers" file .if so where do I need to add these two lines in sudoers file.

1. apps/opt/grid/bin/srvctl

2. /apps/opt/oracle/product/11.2.0/db_1/bin/srvctl

View 2 Replies View Related

Software :: Skip 'Installation Method' In Kickstart File

Mar 16, 2011

I have created a customized RHEL 5.4 DVD and placed a Kickstart file in it.It is running fine except I have to manually choose "Local CDROM" in the installation process. (see attached pic)Any idea how to skip this.

View 3 Replies View Related

Ubuntu :: Remove Directories That *don't* Contain A File - Safe Testing Method?

Apr 15, 2011

I'm trying to clean up an iTunes-sorted Music directory. For whatever reason, it contains a large number of folders that have album art, but no music. I'm actually more concerned about a safe way to test my removal batch, but I thought I'd paste everything I did in case it's useful to someone. Based on this thread, I came up with the following script:

Code:
#!/bin/bash
find ./*/* -type f -iregex ".*(mp3|m4a)" | sort | while read line ; do
echo "${line%/*}" >> file1
done
sort -u file1 > fileuniq

[Code]...

But I'm scared to just run this on my music folder. Is there any way to run rm in "test mode", so that I would just see verbose output, but it wouldn't actually delete anything? Failing that, does anyone see anything wrong with my plan?

View 4 Replies View Related







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