Ubuntu :: Tar Sub-directories To Individual Tars?

Dec 6, 2010

If i wanted to tar a directory into individual directories (but only one level) how would i go about it? example would be

MainDirectory
|---dirA
|---dirB
|---dirc
|---dir....

would produce

dirA.tar
dirB.tar
dirC.tar etc

View 3 Replies


ADVERTISEMENT

General :: Where To Store Tars And Source Directories

Jun 8, 2011

organizing where I put source directories:

1) Is there any convention or best practice as to where to store source tars for packages that you have to build yourself, as well as for where to store the source directories that are extracted (the ones containing the generated Makefile)? I'm getting to a point where there are tars and source directories all over my home directory and elsewhere, and it's becoming disorganized very quickly.

2) Are the entire source directories needed to be kept around, or could simply the Makefile be enough to perform a 'make uninstall' if necessary?

3) Is there any problem with moving around the source folders after a package has been built and installed? Meaning if I install a package, move the source directory, then do a 'make uninstall' from that new location, would it successfully remove the package?

4) Now that I think about it is there any reason to keep around the tars after installing a package? As long as you have the source directory, what point would there be?

View 3 Replies View Related

Ubuntu :: Mirror Individual Directories?

Feb 24, 2011

I'm a newbie who has just installed Maverick on my old HP box and I have to say I'm hugely impressed. I have 2x 160Gb drives in the machine, is there a utility which will let me backup/mirror certain directories automatically, whilst still being able to utilise the remaining space on the second disk?

View 2 Replies View Related

General :: Change Permissions Of Individual Directories?

Nov 5, 2010

i have an ntfs mount that i wish to change permissions of individual directories.i have mounted many ntfs volumes successfully, mounting is not the issue. the issue is that when mounting, i need to specify 'blanket' permissions, owner, group etc. i have no idea how to change permissions for individual folders.

View 2 Replies View Related

Ubuntu :: Zips And Tars Want To Be Opened With Gedit?

Feb 28, 2010

all my compressed files have gedit icons, and when I right-click them, instead of having the "unzip here" option, it just says "open with gedit". Why would this be the case??? How do I fix it? it's really inconvenient to have to open up my terminal and unzip everything that I want uncompressed, when I used to be able to just right click it and say "extract here".

View 2 Replies View Related

General :: Create A Backup Directory And 3 Directories Within That And Some Files Within The 3 Directories And Then Back Them Up Ot Restore Them?

Dec 19, 2009

i am in need of linux help. iam at college and i need this back/restore script to pass this final part of an assessment. i require a backup script that will not only backup but also restore files to the relevent directories. e.g. users are instructed to store all wordprocessor files in a directory named wp. so i am needing to create a backup directory and 3 directories within that and some files within the 3 directories and then back them up ot restore them. l know i should/have to do this myself by been trying to get/understand info for the last few days and came up with zero.

View 14 Replies View Related

General :: Multiple Users To Create Directories Over SFTP So The New Directories Keep The Same Permissions?

May 15, 2011

I want to make a webserver with multiple users allowed to login through SFTP to a specific folder, www.Multiple users are added, lets say user1 and user2, and all of them belonging to the www-data group. The www directory has an owner www-data and a group www-data.

I have used chmod -R 775 on the www folder, but after I try to create a folder test through my SFTP server (using Filezilla) the group of the directory created has only r and x permissions, and I am not able to log in with the second user user2 and create a directory within www/test due to a lack of w permission to the group.

I also tried using chmod 2775 on www directory, but without luck. Can somebody explain to me, how can I make it so that a newly created directory inherits the root directory group permissions?

View 2 Replies View Related

General :: How To Store Files / Directories In Different Different Directories?

Mar 23, 2011

I am writing a script, in that my requirement is, if all the fill types stored in one directory from that we need to separate different different directories based on the file types.

for example in a directory(anish). 5 different types files
1- directory
2- .txt files
2- .sh files

like that and my requirement is the (1- directory is moved to one new directory(dir) which we are given in the script)and (2 .txt files are moved to another new directory(test) which we are given in the script)and ( 2 .sh files are moved to another new directory(bash) which we are given in the scrip)finally the directory anish should be empty..using bash script.how it is possible !!

View 7 Replies View Related

Ubuntu :: Delete Individual OSs From Multiboot Set Up?

May 3, 2010

how to delete or replace specific OSs in a Ubuntu ( 3 versions ) and XP multiboot set up

I want to make sure I leave my Ubuntu Studio 9.04 partition intact and replace the other 3 OSs incl Winodze XP with a fresh install of Ubuntu Studio 10.04 or 64Studio, alongside the intact UStudio 8.04.

Ive backed up Home folders which are important to me.

Can I do it with Gparted ?

View 2 Replies View Related

Red Hat / Fedora :: Restrict Users To Their Home Directories And Allow Admins To Have Different Home Directories?

Jan 20, 2010

Is it possible to restrict users to their home directories and allow admins to have different home directories? Essentially I want users to have a folder in /var/www/html/$USER and admins to have either unrestricted access or have their root directory be ./ or /www or /etc. I have is set now so users have access to thier home direcotry but I need to upload web files as admin.

So far I have created:
chroot_list
user_list

[code]....

View 1 Replies View Related

Ubuntu :: View The Config For Each Individual Screenlet?

Jul 16, 2010

I'm using Screenlets in ubuntu 10.04 and I have a problem with screenlets behavior. I played around with it a little while and I guess I messes something, because now whenever I log in some screenlets load twice and I have to clean them manually. Where can I view the config for each individual screenlet?

View 1 Replies View Related

Ubuntu Installation :: Way To Get All Packages Without Downloading Each Individual Ones?

Dec 26, 2010

I just installed ubuntu 10.04 LTS on my Acer Aspire 5745. The installation was successful. However, I found that my internet is not working. Later I realised that there are no ethernet drivers. The one that I need is Atheros AR8151 PCI-E Gigabit Ethernet controller(NDIS 6.20). My wireless is also not working. This one is a Broadcom 802.11n Network adapter.On googling, I found this thread : URL...

To install the driver first, I had to do build-essential and headers-generic. Since I have a desktop, i thought of manually downloading the packages on my desktop and then transferring it to the acer. But i came across many dependencies for build-essential, that is, I first had to install something else before build-essential. The dependencies led me to further dependencies and so on. Is there any way for me to get all the packages without downloading each individual ones?

View 2 Replies View Related

Ubuntu :: Saving An Individual Cookie In Firefox?

Feb 16, 2011

Running Meerkat on Sony Vaio laptop, with Firefox as the browser of choice.The BBC News website has a "My Location" setting, and shares it automatically with the BBC Weather page for a local forecast.Is it possible to clear the Browsing History, yet save the one individual cookie that is used for this ?

View 2 Replies View Related

Ubuntu :: Change Individual Users' DE Choice?

May 18, 2011

While I'm a fan of Gnome, I'd prefer if the user "kids" logs in as KDE by default. Is there any way to toggle which desktop environment it automatically logs in to?

View 1 Replies View Related

Ubuntu :: Setting Up Wallpapers For Individual Monitors?

Aug 9, 2011

I'm using a multiple monitor setup, and I'd like to use a different wallpaper on each monitor. The default background selector, however, puts the same picture on every monitor. I've tried the application 'nitrogen' from the repositories which claims to be able to do just that, but it doesn't do anything.

View 1 Replies View Related

General :: Individual Cpu % In 'top' Output?

Jan 22, 2010

Usually to view individual cpu % we press '1' in the interactive mode of top.

However I am not able to figure out the logic to get the same output in batch mode i.e,

top -n1b

I am redirecting this output to a file to view it later and stuff like that, so I need the batch mode. Is it possible? Installing a separate tool for this is not gonna be possible.

I'm looking for an option that I am missing or some way to capture the output.

View 4 Replies View Related

General :: Add Many Individual IPs Quickly?

Jan 26, 2011

We have quite a few SEO clients who require multiple IPs which are all from different class c allocations. (10 - 50 IPs) used for projects lasting weeks to months at a time. Since we don't have connected IPs in ranges we can't use the range scripts but I don't know of a way to easily add a long list of individual IPs. These are CentOS servers, by the way

View 2 Replies View Related

Ubuntu :: Deleting Individual Files From Disk Image?

Mar 23, 2010

Recently, I made a disk image of my external hard drive (as it had recently failed). I have yet to get it replaced, so I have a .dd file sitting on my computer. Now, I can mount the .dd file so I can access the files, but I cannot delete any of them. I want to be able to copy the files file by file to my normal folders and delete them from the backup file, as my disk isn't large enough for me to copy them all to the folders and just delete the entire file.

TL;DR = Can I/How do I delete individual files from a .dd backup.

View 5 Replies View Related

Ubuntu :: Mounting DD Image To Pull Off Individual Files?

Mar 29, 2010

I have a gziped dd image backup of my entire hda drive (osx and ext4 partitions) that I created with the following command:
dd if=/dev/sda |gzip > image032810.gz
Can I mount this image file to pull off individual files from individual partitions?

View 6 Replies View Related

Ubuntu Networking :: Individual Internet Channel For Browser

May 18, 2010

What is the quickest and the most elegant way to implement the following scheme:On my computer I have two browsers and two internet channels:

1. Ethernet cable internet
2. USB 3g modem/.

When I execute the first browser it uses only the cable internet and the second one uses the USB modem.

View 2 Replies View Related

Ubuntu Multimedia :: Decompose A Video Into Its Individual Frame?

Oct 16, 2010

how I can decompose a video into its individual frame , so that I can apply my image processing algorithms to those images..

View 4 Replies View Related

Ubuntu :: Compiling Individual Kernel Module From Qcserial.c?

Jan 4, 2011

I am trying to figure out how to compile qcserial.c kernel module from the latest kernel source file located in the 2.6.37-rc8 kernel tree. I have installed the sources for my current kernel 2.6.35-24-generic on maverick and it seems that my includes are not in the right place to make the qcserial.c file happy.

I overcame this issue by passing the -I option to gcc that points to the directories that it is looking for. I am currently getting errors while compiling and I was wondering if it is impossible to compile qcserial.c on my current kernel? I am looking to get the diagnostic port and GPS port enabled for my built-in 3G card.

I havent built modules for quite some time and that was on opensuse with the fglrx module.

View 9 Replies View Related

Ubuntu Networking :: Connect To An Individual Network Computer?

Mar 18, 2011

I have just installed Ubuntu 10.10 on my work computer. We have numerous machines on our Network, on Windows 7, I could never see the network machines listed but I could connect to individual machines simply by typing it's name in the address bar of the file explorer, such as://COMPUTER-NAMEWhen I connected my mac, I could access other computer's files using Apple + K smb://10.0.1.xxx

View 3 Replies View Related

Ubuntu :: Logical Volume Sorting Individual Files?

Jun 5, 2011

So I just had a quick question on logical volumes and such with ubuntu. I've been looking into setting up a storage array of 4 2tb hard drives for media storage in my house but have ran into a wall with with sort of array i should use, whether it be setting up a full raid system (raid 5 or 10 most likely) or using LVM for stripping. The one thing with LVM however, is that there is no parity or redundancy built into it in case 1 hard drive fails. I was wondering if it was possible to create something similar to that of LVM stripping, but instead the logical volume is sorted into whole individual files, not stripping them across the array. That way, if one drive fails, sure, i lose the contents of the one drive, but the rest of the content isn't lost and I have no loss of space because there is no inherent parity.

View 1 Replies View Related

Fedora :: Change Individual Backgrounds?

Mar 25, 2010

I'm actually asking this on behalf of a friend but I was wondering if there was a way to change individual backgrounds on each window (the ones in the bottom right hand corner) instead of the background changing for all of them

View 2 Replies View Related

Fedora :: Installing Individual KDE Packages?

May 3, 2010

Just installed Fedora 12. After installing a new distro, I usually remove the individual programs that I have no use for or interest in. In Fedora, I've noticed that, for KDE at least, I can't remove just one program I have to remove the whole "group" of programs. For example, I might want only one game on my system and remove the rest but KPackageKit only allows to me to remove KDE Games (all of them) instead of just the programs I have no interest in. This is not the same as other distros I have tried. Is there a way around this?

View 3 Replies View Related

General :: How To Separate Individual Logs?

Nov 29, 2010

I have captured a file in my linux showing logs captured from many modules concurrently. Please find attached a sample of the file. As you see, there are logs from individual modules that have been captured concurrently. For example, there are logs from IPTR,SNMP,HLR,TCAP,XAPP,and SCCP modules but they are coming concurrently.Each log has the header name of its accompanied module in the beginning. I need to have the log of each modules separately. Can you please show me the power of linux on how to separate individual module's logs from the whole?

View 3 Replies View Related

Ubuntu :: Press Backspace To Delete An Entire Tab Instead Of Individual Spaces?

Jun 14, 2010

I write sources in VIM and i use the following settings:

set tabstop=4
set expandtab
set autoindent

And I have got some questions. 1:Is there any way I could do, so when I press backspace to delete an entire tab instead of individual spaces ? 2:Is there anything to do to delete a tab if I insert a closed curly bracket.

Code:
int main (void) {
} // <- and this one gets perfectly aligned

View 2 Replies View Related

Ubuntu :: Removal Of Individual Items From Trash Folder In Evolution

Oct 17, 2010

Is there a way to remove individual deleted e-mails (as opposed to having to empty the entire contents of the folder) from the trash folder in the Evolution e-mail program? If not, you can do this in Outlook, why would this option not be included in Evolution?

View 3 Replies View Related

Fedora :: Configure GDM To Hide Individual User ?

Jul 1, 2011

This sounds like an old topic. I have an active user account in my system that I don't want it to be listed in GDM greeter. In the past (prior to Gnome 3), it can be achieved by configuring the "Exclude" option of the "greeter" section in the Custom.conf or by creating the user account with UID smaller than MinimalUID. But it seems the same old trick does not work for me in Gnome 3. I have tried the "Exclude" option with no effect at all. Using the UID approach only solves my problem partially, as it only exclude it in the GDM greeter during "switch user" but it still being shown in the list in the initial greeter after a cold boot.

Anyone know how to do this in Gnome 3?

View 4 Replies View Related







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