Warning: session_start(): open(/tmp/sess_u8f20q7l6oap8ngg8ahrvcgk21, O_RDWR) failed: No space left on device (28) in /www/H01/htdocs/lib/base/lib_base.php on line 280
merge directories openDesktop.org
-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    Linux42.org    OpenSkillz.com   
 
Home
Apps
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


-
- Content .- Fans  .- Knowledge Base  . 

merge directories

  

KDE Service Menu

Score 64%
merge directories
zoom


Link:  Link
Downloads:  639
Submitted:  Feb 6 2006
Updated:  Feb 6 2006

Description:

it merges two or more directories into one called "merged". it can copy or move all the files.
it is an answer to the http://www.kde-look.org/content/show.php?content=34879 mockup.
hope you'll find it useful :)

INSTALL:
1. copy merge.desktop to your $KDEHOME/share/apps/konqueror/servicemenus;
your $KDEHOME is most probably /usr, /opt/kde3 or sth else;
2. add merge to your path, e.g. by copying it to /usr/local/bin.
you might need to make it executable (chmod +x merge).




Changelog:

v0.2:
kdialog
nr of dirs to merge checking
translations (de, es, fr, it, pl, pt)




LicenseGPL
Send to a friend
Subscribe
Other  Content  from caminoix
Report inappropriate content



-
.

 dir-name

 
 by anytimeIsLunchtime on: Feb 6 2006
 
Score 50%

Hey that's quick! Great! :-D


> into one called "merged"

Would it be be possible to use a pop-up box that ask for the name of the directory that will be created.

With the pop-up, I can fill it in and continue on another task, while the computer happily merges my dirs on the background. For me the merge-task is done, the computer can perform it without me looking at it.

Without the pop-up, I have to remember to return to the merging-task to rename the 'merged'-dir or wait for it (even if it is just a few seconds) to have the merge done. (BTW, what happens with multiple merges in one dir?)


Reply to this

-
.

 Re: dir-name

 
 by anytimeIsLunchtime on: Feb 6 2006
 
Score 50%

Ah, that was easier than I expected...
N.B. It does not check for existing directories with the same name!


#!/bin/bash

target=`kdialog --inputbox "target directory"`
mkdir $2/$target

for dir in $3
do
cp -r $dir/* $2/$target
done

if [ $1 == "move" ]
then
for dir in $3
do
rm -r $dir/*
rmdir $dir
done
fi


Reply to this

-
.

 Re: Re: dir-name

 
 by caminoix on: Feb 6 2006
 
Score 50%

thanks for the interest and help :)

as to the code, erm, i'm afraid it still needs some work. it actually merged two directories into two other directories :/
i'll take a look at it tomorrow :)


Reply to this

-

 Great!

 
 by Larra on: Feb 6 2006
 
Score 50%

wow, thank you very much!
This should be part of default menus


Reply to this

-
.

 Re: Great!

 
 by caminoix on: Feb 8 2006
 
Score 50%

you're welcome :)


Reply to this

-
.

 SlackWare Package!!!

 
 by gohanz on: Feb 9 2006
 
Score 50%

A SlackWare TGz package with SlackBuild Script is Ready to DownLoad!!!

http://www.slacky.it/


http://www.slacky.it/index.php?option=com_remository&Itemid=1&func=fileinfo&filecatid=931&parent=category


Reply to this

-
.

 Re: SlackWare Package!!!

 
 by caminoix on: Feb 9 2006
 
Score 50%

wow, great, thanks :)


Reply to this

Add commentBack




-



 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Content RSS   
Events RSS   

Participate
Groups
Forum
Add Content
Public API
About openDesktop.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2007-2016 openDesktop.org Team  
All rights reserved. openDesktop.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
openDesktop is a trademark of the openDesktop.org Team