Ubuntu :: Extract Multiple 7z Files In Multiple Folders?

Jun 14, 2011

have a large amount of 7z files in multiple folders which I need to extract.The directory structure is like this:

/main-folder/
multiple subfolders/
1 or more 7z files per subfolder

I would like to get the output of this action in one separate folder, all together in 1 folder.How can I do this?

View 7 Replies


ADVERTISEMENT

Ubuntu :: How To Extract Multiple Rar Files At Once

Sep 11, 2010

find a software similiar to [URL]whit gui for ubuntu ? or some kind of nautilus script ?

View 9 Replies View Related

Software :: Bash Script To Extract Multiple Files With Password?

Jan 10, 2011

The situation is the following:I download everyday several files from a website which are always password-protected with one out of 4 or 5 different passwords.I wanted to write a bash script to extract them automatically by trying with the different passwords.The files are mostly 7z.Can anbody lend me a hand?The starting point could be sth. like:

Code:
#!/bin/bash -x
FILE=$1

[code]....

View 8 Replies View Related

Ubuntu :: Move Multiple Files And Folders At Once In Terminal?

Jun 27, 2010

Is it possible to move multiple files and folders at once in terminal?

View 5 Replies View Related

General :: Rename Multiple Files In Multiple Directories/subdirectories Recursively?

Aug 23, 2010

I am to rename all the files within a directory (which contains multiple subdirectories) recursively without invalid characters.

I tried the coding posted above.

find . -type f -printf '%p
' | while read file; do
oldfile=$(basename "$file")
newfile=$(echo "$oldfile" | sed 's/[^A-Za-z0-9_.]/_/g')
if [ ! "$newfile" == "$oldfile" ]; then
echo mv "$file" "${file%$oldfile}$newfile"
code....

but I get an error on both of them stating "find: bad option -printf find: [-H | -L] path-list predicate-list"

View 9 Replies View Related

Ubuntu :: Replace Multiple Lines In Multiple Files?

Aug 20, 2011

I often use the rpl command to make changes to multiple html files at once. For example:

rpl -R '<br />' '<br /><br />' mydirectory However, I haven't been able to figure out how to change multiple lines. For example, let's say I want to change all occurrences of :

<br />
<br />
to:
<br />
I've tried
rpl -R '<br />
<br />' '<br />' mydirectory

but that didn't work. how to do this with rpl or some other way?

View 9 Replies View Related

Ubuntu Multimedia :: Extract And Joing Multiple Audio Tracks With Video

Dec 2, 2010

I have two video files (Xvid) and would like to combine the video from one of these with the audio track of the other, in order to create a new video file.

This is somewhat complicated by the fact that I would like the resulting audio to be a mixture of the two original audio tracks, for instance, during some time segments, I would like to switch from one to the other, but the video should always be the same.

Another issue that complicates the things is that the two audio tracks have different bit rates, and when I briefly managed to merge the two, one of the audio tracks was playing much faster than the other. To clarify, the audio tracks should not overlap but just be played at the different time during the video playback.

I am trying to do this by using Audacity. The problem is that I am fairly new to Audacity and I have not been able to find any info in their user guides regarding this specific issue.

View 4 Replies View Related

General :: Extract To Multiple Directories Based On File Names?

Jan 30, 2009

I'm not sure if this is possible or even where to start. I assume that this can be done with an sh script using tar or similar.I have several very large zip files that contain images for all of the products in my online store. Each image is named after its 13 digit SKU (for example, 9987788000012.jpg). In order to import products into my store, all images are placed into a media directory. Unfortunately, there are over 100,000 images.

So I would like to break the images into sub-folders based on file name. For example, when I extract store_images.zip (or tar or whatever), my extract script would create directories (if they don't already exist) based on the first three digits of each image name, placing each image into the appropriate bottom level directory. For example, "9987788000012.jpg" would be placed in the following directory "media/9/9/8", with media as the root and "8" as the directory that holds any images that start with "998". Perhaps two sub-folders would be less cumbersome.Assuming this requires a script, particularly since it involves scanning image names, creating folders, and saving images to specific directories, which language would serve my needs best? PHP? Has anyone had to do something similar?

View 13 Replies View Related

Ubuntu :: Zipping Contents Of Multiple Folders?

Oct 8, 2010

I have a set of folders in some directory /home/dir, and I'd like to generate zip files for the contents of each folder separately. I'm wondering if there's a quick way to do this with a one-liner, or what the bash script would be.

Directory structure: /home/dir/first/second/thirdand I want three files, first.zip, second.zip, and third.zip. I know zip isn't the best format, but these are for distribution to users on Windows machines and I'd prefer to keep them in the zip format.

View 2 Replies View Related

Ubuntu :: Explain The Multiple Firefox Default Folders?

Mar 14, 2010

Under /home/username/.mozilla I have a default folder which contains folders named "aqeif3n4.slt" and "cache". Under /home/username/.mozilla/Firefox I also have more default folders such as "6ajy4rl7.default", "ad2fpe1q.default" and "ivkrjhk8.default". I do not understand what the default folder under /home/username/.mozilla is for. I am sure that the .default folders under /home/username/.mozilla/Firefox are my Firefox files (duh!) but why are there more than one? Is a new one created every so often so you have copies from past time periods? Or what?

View 2 Replies View Related

Ubuntu :: Deleting Multiple Folders In Different Directories With Filezilla?

Apr 21, 2011

So I have a share hosting account with 60 sites all running wordpress.

There is a plugin I want to delete from all 60 wordpress sites.

The plugin is in the same path in all 60 sites.

mysite.com/wp-content/plugins/carter Is there a way I can search the entire home directory with filezilla or another ftp and delete every folder with that name in every site or I have to do it the tedious 1by1 sucky way?

View 4 Replies View Related

Programming :: Right Utility To Rename Multiple Folders?

Sep 14, 2009

I've got about twenty folders with names such as "Bennett Galleries" or "Athletic House" and I want to rename them to "Bennett_Galleries" or "Athletic_House". Any right utility to use to accomplish this (sed, awk, bash script, etc...)?

View 2 Replies View Related

Server :: Multiple Folders To A Single Path

Mar 27, 2010

We have too many audio Paths, for each user have one. We would like to create a unique folder to Read in network.

For example:

The idea is Mapping all folders to the path /pub/Music in server, so all user can access all music online in the server.

Very Well. How we can do it?

And when pc1 and pc2 have the same subfolder, like Beatles, and in the subfolder have different folders ( PC1-Beatles/Revolver ) (PC2-Beatles/Habbey_Road) or The same folder (PC1-Beatles/The_Mistery_Magic_Tour) (PC3-Beatles/The_Mistery_Magic_Tour)...

Is there a way to contemplate this issue?

View 4 Replies View Related

Ubuntu :: Single Folder With Symbolic Links To Multiple Folders?

Aug 4, 2010

i am using ps3mediaserver to expose my photos collection which is distributed across multiple sub-folders. unfortunately the ps3 can only show a slideshow for a single folder at a time, hence i was wondering if there was a quick way to create a single folder containing symbolic links to all my pictures.

View 2 Replies View Related

Fedora :: Bash Script Symbolic Link Multiple Folders?

Dec 23, 2009

I've been using fedora for quite some time now but I've never really written any bash scripts so I'm new to this. Basically what I'm trying to do is create symbolic links of movies that I have organized in this fashion:

Code:
Movies/A
Movies/B
Movies/C
etc.

I basically want to create an "ALL" folder that has links to all the movies in their designated folders. I have created somewhat of a bash script but it does not work.

Code:
#!/bin/bash
cd '/media/Videos/Movies'
for file_name in `ls *`
do
ln -s "$file_name" All/$file_name
done

I don't think its creating the right link to the movies and it is not taking into account the fact that some of the movies have spaces in their names.

View 2 Replies View Related

General :: Copy A Set Of Sub Folders From Their Multiple Parent Directories To A New Location

Nov 5, 2010

I am attempting to copy a set of sub folders from their multiple parent directories to a new location.

For example, I have three folders to copy:

I would like them to be copied to:

In actuality there are many folders besides folder1, folder2, folder3, and no numerical order exists. So, the folder named 'photos' would be copied to its parent folder's name in a new location. I would need this to occur for all folders in the '/home/user' directory.

View 6 Replies View Related

General :: SVN Multiple Commands Single Revision - Add New Folders (with Contents) To The Repository?

Jun 18, 2010

I want to do something like svn add dir1 dir2; svn ci dir1 dir2 but have it be only 1 revision. Is there a way to do this? Is this the correct way to add new folders (with contents) to the repository? We are restructuring the trunk, so I cleared it out and plan on putting these directories with their contents in it.

View 1 Replies View Related

Ubuntu Multimedia :: Multiple Machine Multiple Display Wall?

Aug 4, 2010

We are working on a project to create a display wall of 8 monitors arranged as 2 high by 4 wide. Each monitor is connected to a single machine and all machines are networked with a master machine with its own, seperate monitor.

Our goal is to get the 8 machines to share a single desktop, with the master machine acting as the server. We have looked at using Xinerama or NMM, but we are unsure about how to get started configuring the multi-machine, multi-head display.

View 2 Replies View Related

Ubuntu :: Multiple Notification Areas On Multiple Screens?

Sep 24, 2010

My ubuntu 10.04 has two monitors connected both being treated as individual desktops.But only one desktop is showing the wifi network icon in the notification area.Is it possible to have more than one wifi icon going at one time?

View 1 Replies View Related

Ubuntu :: Apply Multiple Themes For Multiple Desktops?

Jan 12, 2011

I'm using Ubuntu 10. I want to apply different themes for desktops.. I want to apply windows 7 theme,ubuntu, mac os themes for my multiple desktops

View 1 Replies View Related

General :: Use 'iw' To Create Multiple Virtual Interfaces To Connect To Multiple Networks?

Oct 26, 2010

I'm trying to connect one computer to two others in an ad-hoc infrastructure.

[computer 1] ---- [computer 2] ---- [computer 3]

computer 2 is running Linux and has a single NIC wlan0. I want to it to connect to both computer 1 and computer 3 so each computer can talk to the other. No switch is available so it needs to be an ad-hoc setup.

[Code]...

View 1 Replies View Related

General :: Good Support To Multiple Desktops AND Multiple Monitors

Jun 4, 2010

I'm starting to have A LOT of opened windows in my machine. Sometimes within a project, I have e-mail/task management/personal e-mail/twitter, and a lot of different opened applications/terminals in my Linux workstation.Sometimes it would be interesting to have different workspaces to projects instead of this configuration I have nowadays that are classes of work (bad name, I know, but I think you got the idea).I'm starting to think about using two monitors: one with Corporate Management, Work and Personal. The second monitor is only the development state: each workspace here is about a project being worked on instead of groups of works like before. A workspace may be implementing different classes for example.

My question is: I just want to change to a second monitor using the mouse. I want to still be able to change workspaces in the same monitor using keyboard shortcuts. The keyboard shortcuts wouldn't change monitors, just worskpaces on the same monitor. All the tutorials I read (like this one) only tells how to use multiple monitors but doesn't answer my question about keyboard shortcuts.Does Linux (Ubuntu 10.04 Lucid Lynx or Debian 5.0.5 Lenny) support this envisioned setup (Different workspaces in a way that keyboard workspace switching only works in the current monitor) ? If so, how?I haven't tested this setup, that's why I'm asking. In this question the user says it works exactly how I want it to behave, can someone else confirm it?

View 3 Replies View Related

Networking :: Ping Multiple Devices Via Multiple NICs?

May 20, 2010

I have an old pentium 3 computer that has ~7 NICs installed. These NICs are attached to modems and other networking equipment. According to the linux ping page on computerhope.com, it seems that one could send a ping from a certain specified NIC. How would one go about this?

View 6 Replies View Related

General :: Multiple Servers Or One Server With Multiple VMWare?

Feb 7, 2011

I'm looking at setting up a couple automated systems: Here are a few examples:

* Internal accounting system to download and process emails
* Public web server to visit

I could put each system on its own separate box -- for example, it's generally good practice to separate anything that external users have access to (such as a webserver) from internal processes such as accounting. Now, rather than dishing out the money for two separate servers, could I get away with just installing new instances of VMWare on the same box for each system?

To give you an idea, these are not large scale computationally sensitive systems. The accounting one is simply downloading and tallying emails, and the latter is just a webserver with maybe 5 hits per day on a good day. I could definitely pick up a new box for say $50, but I wanted to know the general practice of using VMWare on the same box versus two separate boxes.

View 2 Replies View Related

General :: Search Multiple Words In Multiple Lines?

Dec 16, 2010

How to search multiple words in multiple lines, inside a directory including sub-directory? Pls. give easy example. I want to search the files (in /xx folder and all subfolders) that have header.h included and used x() function. I tried $grep -r "header.h" | grep -r "x(" /Folder/subfolder/ > search.log

View 7 Replies View Related

CentOS 5 Networking :: Multiple Nics With Multiple Gateway ?

Jun 16, 2009

I have a CentOS 5.3 box with three network interfaces in it. Each interface is attached to a separate VLAN and I want traffic to stay on each network segment.What I can�t figure out is why I cannot get each interface to have its own gateway and everything gets sent through the default gateway.The basically takes my possible 3Gb total bandwidth and throws it down a single 1Gb pipe.Then on top of that, if I take down the interface (ifdown) that has the current default gateway,I loose contact to the other two interfaces.When I look at the routes, each one of the interfaces shows the gw as 0.0.0.0 and defers to the default route. So I delete the route and try to add a new route with:

[root@testsan ~]# ip route add 10.1.15.0/24 via 10.1.15.1 dev eth2

but end up with the error:

RTNETLINK answers: Network is unreachable

[root@testsan sysconfig]# cat network
NETWORKING=yes
NETWORKING_IPV6=no[code].....

View 5 Replies View Related

Ubuntu :: Multiple X Sessions On Multiple Monitors?

Jul 12, 2010

So essentially, I have 3 monitors and i'm attempting to run 2 different window managers/sessions at once split up on the monitors. It is intended to be like this:

Code:
[GNOME/Compiz - Screen0]
- Left Monitor[code]......

View 2 Replies View Related

General :: Creating A Script To Move Or Copy Files Into Multiple Directories Below The Files?

Aug 25, 2009

How can you create a script to move or copy files from a main directory into multiple directories below the main directory.

View 7 Replies View Related

Ubuntu :: Combine Multiple Folders Into One "folder" Similar To Way That Windows7 Does Libraries?

Jan 23, 2011

Is there a way to combine multiple folders into one "folder" similar to the way that Windows7 does Libraries? That way movies, for instance, would be able to be distributed on multiple drives, but appear in one place, when wanted. sort of like mounting multiple folders on on one mount point.

View 6 Replies View Related

CentOS 5 Server :: Multiple Html Folders For Sandbox Server?

Aug 30, 2010

I am running Centos 5.5 with Apache 2.2.3, MySql 5, and PHP 5.1.6. I am migrating a Drupal installation to the default html folder for development purposes. I am very new to server management, and a bit lost.I want to install some other web sites on the sandbox server to experiment with before uploading them to a Production environment. Is it possible to have multiple html folders? Or to use symlinks to point to the folders where the other web sites will reside?

View 1 Replies View Related







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