Ubuntu :: Correct Option To Merge Directory Trees?

Feb 17, 2011

I have a couple directories in the following format:
+ Dir 1
----+ Dir A
-------- file1
----+ Dir B
-------- file2
+ Dir 2
----+ Dir A
-------- file3
----+ Dir C
-------- file2
+ Dir 3
----+ Dir B
-------- file2
----+ Dir C
-------- file1

My desired structure is:
+ Dir Final
----+ Dir A
-------- file1
-------- file3
----+ Dir B
-------- file2-1 [or something so that the two files don't overwrite]
-------- file2-2
----+ Dir C
-------- file2
-------- file1

Basically, I would like to combine all the directories that I can, without deleting/overwriting any files. I have looked at Rsync, but I could not find the correct options to do what I wanted.

View 1 Replies


ADVERTISEMENT

General :: Hide .dot Files For Some Shared Directory Trees?

Nov 5, 2010

Somehow, I have flipped a bit somehwere, and some directories, particularly those shred through SAMBA, have flipped their sorting.

where those things are configured?

I also want to hide .dot files for some shared directory trees.

View 3 Replies View Related

Ubuntu Multimedia :: Ffmpeg Audio Merge With Video Merge

Feb 22, 2011

I am using ffmpeg for merge wav files to a mov video. My doing is below

1. First extract audio (wav file) from video
2. Create wav file from mp3 track 1
3. Create wav file from mp3 track 2
4 Merge extract audio from video with track 1 and track2.
Now finally create a new video with original video's video stream and merged audio stream.

Process is working. However final video is 3-4 times greater than original one. I want that final video should be near about size of original video. As I understand, all three wav files (created from ) make video larger.

Example commands i using is as below:

View 6 Replies View Related

OpenSUSE :: The No Such File Or Directory Warning Is Correct?

May 12, 2011

When I learn shell script, I want to add my own PATH variable to system previous variables. I find that my linux has the below PATH variables (in the end of this message). It shows 'No such file or directory' although I verify that all the directories exist. Some directories are empty indeed. This will result that warning?

I want to make the present PATH variables correct before I add mine.

bash: /usr/lib/mpi/gcc/openmpi/bin:/home/jeff/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib/jvm/jre/bin: No such file or directory

View 9 Replies View Related

Networking :: Correct Syntax For An NFS Shared Directory?

Jun 1, 2009

If I want to share a directory called /home/me, would I go to my /etc/exports file and share /home/me/* or would I share /home/me ? I am unsure of how to type this into the file.

View 2 Replies View Related

Slackware :: What Is Correct Permission For Mysql Directory

Aug 30, 2010

what is the correct permission for mysql directory under /var/lib directory? I set permission using: Code: chmod 755 mysql but got permission deny error. What is the best setting permission for this directory so that I won't jeopardize security?

View 4 Replies View Related

Slackware :: Select Correct Module Directory At Boot?

Jun 2, 2010

To clarify: I have two kernels, (a) one that "works" and (b) another that I am experimenting with. Each has it's own modules directory tree (in /lib/modules) and they are mutually incompatible ie kernel (a) will only work with module tree (a) and similarly for (b). I have two boot entries in lilo.conf which can be selected from the boot menu.

Now the problem is, what if something goes wrong when I boot to (b)? I'd like to be able to return to the safe option (a), but the current module tree is (b) and it won't work with kernel (a). I could use the Slack installationCD and rename the module directory (I presume this would work)but is there a simpler way, whereby I can select the correct module tree at boot time (or set it in lilo.conf)?

View 3 Replies View Related

General :: Finding Binary Dependency Trees?

Oct 25, 2010

I'm working on a Linux distro, and I have the full thing compiled and everything, but it is centered around a single program (a rendering engine). Is there any way that I can figure out what dependencies the binary has at runtime? I know I don't need gcc and a ton of other files, but I'm not sure what I can remove to decrease size (I'm aiming at under 20 MB, as Slitaz Live CD is only 30, but it has a ton more stuff than my CLI thing).

View 4 Replies View Related

Programming :: Correct / Common Directory Tree For Software Packages?

Mar 16, 2011

I found it easiest to embed narp into the gtk+-2.0 installation because all I needed to do was tweak the Makefile.am and Makefile.in files and let configure do the rest.This is a hack. I've failed at getting my own makefiles to work.

Would anyone point me in the right direction on how to properly make an installer for Linux? Also, what is the correct/common directory tree for Linux software packages? Any more suggestions on proceeding with this project using community standards?

View 2 Replies View Related

Programming :: Check If The User Is In Correct Directory Before Executing Bash Script

Dec 10, 2010

I have been searching for 90 minutes for something that I "think" should be fairly easy. I'm pretty new to Bash Scripting so I could be completely wrong. Then again it may be a weird request to even need something like this. But here it is.I have a script written to convert data from one of our software version to another. The only thing I need to add to it is a "check to make sure the user running the script is in the /tmp directory".

View 7 Replies View Related

Slackware :: Can't Mount Nfs Directory Without Option

May 22, 2010

I can't mount nfs directory without option "-o nolock".NFS server is slackware 11 and client is Slackware 13 (full installation).I tested with Centos 5.4 and works fine. Using which rpc.lockd print is no rpc.lockd and slackware 11 is /usr/sbin/rpc.lockd.following services starting on client using rc.rpc ( rpc.statd and rpc.portmap)

View 2 Replies View Related

Ubuntu :: Source Code Of The Krnel From The Kernel.org - Source Trees Organization

Apr 11, 2011

i am already a little bit familiar with linux and now i want to know better the linux OS. i have downloaded the source code of the krnel from the kernel.org and i dont understand the linux source trees organization, so can somebody do me a favor and give me a link to some internet page (or at least a book) that explains that?? i have searched in the internet with the tag:::linux source trees organization and i have not found nothing interesting

View 1 Replies View Related

Ubuntu Security :: Tar Vulnerability? Leading ./ (dot Slash) Makes The --directory Option Fail?

Jun 8, 2010

I ran across this problem when I used checkinstall and then tried to extract the contents of data.tar.gz (which you can find inside any .deb).tar has an option to extract the contents of a file in a given directory.From tar's manpage:

Code:
-C, --directory DIR
change to directory DIR

[code]....

View 2 Replies View Related

Software :: Grep Recursive Search Directory Depth Option ?

Feb 28, 2011

I know grep can search recursively (ie through all subdirectories to the bottom of the directory tree), but is it possible to ask grep to only search say, 3 levels down? That means the current directory, any directories in the current directory, and within any directories within those?

View 1 Replies View Related

Ubuntu :: Auto Login Option / Can Undo This Option?

Nov 5, 2010

I installed Maverick with auto login. One could undo this by reinstalling I suppose, but is there an easier way to get back to the standard form of login?Hopefully that will cause my default key ring to unlock correctly.

View 3 Replies View Related

Ubuntu :: Merge Different .pdf Files Into One?

Jun 16, 2010

Iam aware of the way on how almost every file can be converted to .pdf within Ubuntu 10.04 using "Print to File" function. But is there a way to merge multiple files to create one .pdf? OR Is there a way to merge multiple .pdf files to create a single .pdf?

View 5 Replies View Related

Ubuntu :: Can't Merge Two Partitions?

Jun 4, 2011

i used to have 2 partitions: ubuntu and windows. i removed windows and currently am trying to merge it into ubuntu using GParted. however for some reason Gparted won't allow me to increase the size of my ubuntu partition. if you look at the picture that is attached, i need to merge /dev/sda2 and /dev/sda5 . does anybody know why i can't merge them or if there is other software i can you for it?

View 9 Replies View Related

Ubuntu :: How To Merge 50+ Pdf Files

Jul 6, 2011

So I found PDftk which seems promising Im also looking at the commands which are also very powerful..but I think its kinda of laborious to type all my 50+ pdf files in the command prompt I have the front end of pdftk I was wondering is there a program (I have Pdf sam and Pdf Shuffler) that will allow me to import unlim. number of files and then just jam it into one big PDF file?

View 4 Replies View Related

Ubuntu :: How To Expand And Merge Partitions

Apr 14, 2010

I've got a 500gb hard drive.
-sda1 is 400gb (ubuntu 9.10/32bit/ext3)
-sda2 is 50gb (ubuntu 10.04/64bit/ext4)

I would like to expand my lucid partition now and eventually get rid of my 9.10 partition. I've got an 80GB virtualbox file sitting on sda1 that I need and want to expand sda2 now so I can first copy the VB file over, then expand sda2 completely. I just finished creating sda3 ext4, but cant figure out how to merge it with sda2 (well really sda6). Please see image. [URL]

View 1 Replies View Related

Ubuntu :: Merge Files Into A Single Pdf

Sep 18, 2010

I have several image files accumulated as a result of taking screenshots. I want to merge all of them into a single pdf file. How can I do that? I save webpages in .mht format using UnMHT addon in firefox. Is there any way to merge several mht files into a single pdf?

View 7 Replies View Related

Ubuntu :: Bashscript To Merge Pdf Files?

Jul 28, 2011

Is there any bash script to merge pdf files in a directory and sub-directory and rename it as the directory/sub-directory name?Like for example using GhostScript/PDFTK/PyPDF etc?I'm kinda new where it comes to bash scripting.I found this script on a blog that seems to do what I want, however, the bookmark functionality is not of importance to me (and requires jPDFBookmark - which I can't manage to install)

Code:
#!/bin/bash
#

[code]...

View 2 Replies View Related

Ubuntu :: Can't Seem To Merge The 160 Gig's Of Free Space Into Partition?

Jan 11, 2010

I deleted Win7 from my dual boot but I cannot seem to merge the 160 gig's of free space into my ubuntu partition, ran the live gparted but it will not let me expand the ubuntu partition!

View 4 Replies View Related

Ubuntu Installation :: Merge Partition With Normal One?

Mar 14, 2010

Right now my HDD says 10,7GB from 38,3GB is free. However, only 17,7 is in use. The other 10 is on a Ubuntu partition. How can I get it back on the normal disk?

View 8 Replies View Related

Ubuntu Multimedia :: Merge Two Files With Ffmpeg?

Mar 31, 2010

how can i merge two files with ffmpeg?

one is : /home/pt/t/pa1.flv
the other is : /home/pt/t/pa2.flv
1 o merge with ffmpeg
ffmpeg -i /home/pt/t/pa1.flv -i /home/pt/t/pa2.flv -vcodec copy -acodec copy /home/pt/t/dd.flv
the problem is: the merged file ( /home/pt/t/dd.flv ) just contain one file--the first one
/home/pt/t/pa1.flv,there is no the second file--/home/pt/t/pa2.flv in the /home/pt/t/dd.flv

[Code].....

View 4 Replies View Related

Ubuntu :: Synaptic Error In Merge List?

Apr 8, 2010

I'm sure I'm not the first to have encountered a problem with synaptic when I tried to load it up to install a new bit of software (in this instance help screens for OO).However when I did I got the following error message E: Encountered a section with no Package: headerE: Problem withMergeListvar/lib/apt/lists/mirror.ox.ac.uk_sites_archive.ubuntu.com_ubuntu_di sts_jaunty_restricted_binary-i386_PackagesE: The package lists or status file could not be parsed or opened.E: _cache->open() failed, please report.

When I opened the file that had the apparent prolem < var/lib/apt/lists/mirror.ox.ac.uk_sites_archive.ubuntu.com_ubuntu_dists_jaunty_restricted_binary-i386_Packages > it transpired it actually contained the html page for the router ?? which seemed wierd to me.However I have recently I changed to a new ISPSo after a bit of a search, nothing explicity had my problem, and I was a bit stumped. Then I suddenly had a thought, after reading someone else how did something similar.... I then did the following....

Code:
sudo mv /var/lib/apt/lists/mirror.ox.ac.uk_sites_archive.ubuntu.com_ubuntu_dists_jaunty_restricted

[code]....

View 2 Replies View Related

Ubuntu Multimedia :: Transcode And Merge Sub With Mencoder

Apr 20, 2010

I'm trying to transcode and merge sub with mencoder in order to watch a video on my nokia cellphone.

I'm using this command :

Code:

without success. The transcoding works, but no subtitle is merged.

The transcoding log is here

I'm using Karmic.

View 4 Replies View Related

Ubuntu :: Merge NTFS Partitions Without Formatting?

Apr 23, 2010

My friend has a 1TB external hard drive with two NTFS partitions and he wants to combine them into one. Is it possible to merge them together?

View 6 Replies View Related

Ubuntu :: How To Merge Both (Maximize / Minimize) Taskbar

Oct 10, 2010

How to merge maximize and minimize thing on the same taskbar where the application places system things are? Its annoying to move cursor on top to maximize or minimize the window.

View 1 Replies View Related

Ubuntu :: 10.10 - Any Way To Merge Default Graphics Settings?

Feb 12, 2011

In ubuntu 10.04 and 10.10 there is now xorg file. Is there some way to merge the default graphic settings with my own xorg file? I'm currently needing to use and xorg file for my via graphics cards, which works fine. However, some functionality is missing. the icons have lost transparency and the unity menu doesn't allow click and drag scrolling anywhere (like a tablet). If I delete the xorg file and run the default, I get all the crisp clear cut of unity but of course I get performance problems everywhere else... i.e I cant plug a multiple screen in and video playback is crap.

View 7 Replies View Related

Ubuntu :: Merge Partition With Unallocated Space?

Apr 27, 2011

My PC has two OS's - Windows XP and Ubuntu - in a separate partition. There is some unallocated disk space between Windows and Ubuntu. I tried unsuccessfully to merge them together as one larger partition using Gparted in Ubuntu or another software in Windows. I thank you in advance for anyone who advises me hot to do it.

View 6 Replies View Related







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