Re: [SLE] compare dir
- From: Carl Hartung <suselinux@xxxxxxxxxxxxx>
- Date: Tue, 7 Mar 2006 12:44:42 -0500
On Tuesday 07 March 2006 10:18, James Hatridge wrote:
Hi all...
I need to compare two dir and delete files in the second dir that have the
same name as in the first. How could I do this?
Option 1:
Open two shells side by side on your desktop and navigate to the respective
directories independently in each one. If the files are too numerous and this
isn't practical, try option 2:
Option 2:
Instead of using typed commands in the shell, run "mc" instead. By default, it
opens in 'split' view... the left and right panes navigate independently of
each, which makes directory structures and content comparisons very easy. If
needed, for permissions, you can "su -" before launching mc. Your mouse will
work, too (at least it does on mine. YMMV.) If you want something prettier,
go to option 3:
Option 3:
From your desktop, you can use two Konqueror windows and navigate to each
directory separately. For root privileges: open your main menu, scroll up to
"System," scroll down the flyout menu to "File Manager" and select "File
Manager - Super User Mode" from the second flyout menu. If that's too much
work, go to option 4:
Option 4 (my GUI favorite):
Install Krusader with YaST or apt-get or smart or whatever your preferred
package manager is (or just go straight to the site and download the rpm:
http://ftp.gwdg.de/pub/linux/misc/suser-guru/rpm/packages/Utilities/krusader/)
I don't know why Krusader isn't part of the normal distribution, but it's got
some great shortcuts built into it. It does "superuser" mode when needed,
too.
And please be certain you know what you're deleting before you actually start
deleting it! ;-)
regards,
Carl
--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-faq@xxxxxxxx
- Follow-Ups:
- Re: [SLE] compare dir
- From: S Glasoe
- Re: [SLE] compare dir
- From: Carlos E. R.
- Re: [SLE] compare dir
- From: Simon Roberts
- Re: [SLE] compare dir
- References:
- [SLE] compare dir
- From: James Hatridge
- [SLE] compare dir
- Prev by Date: [SLE] MythTV from suser-scrute
- Next by Date: Re: [SLE] copy DVD with K3b?
- Previous by thread: [SLE] compare dir
- Next by thread: Re: [SLE] compare dir
- Index(es):
Relevant Pages
|