Software :: Package To Find And Delete Duplicates?

Aug 2, 2010

I have about 1TB of data to sort out and need a good GUI package to find and safely delete the duplicate files. I am running Ubuntu 10.04 amd_64. Would appriciate any thoughts on how to get it done.

View 8 Replies


ADVERTISEMENT

Programming :: Bash: Combine Arrays & Delete Duplicates?

May 23, 2011

I would like to combine two arrays and delete duplicates that might occur. I tried to solve it like this:

Code:
combined=( "${results1[@]}" "${results2[@]}" )
printf "${combined[@]}" | sort -n | uniq
Example:
result1 (4 elements):

[Code]....

In my code printf seems to have a problem with elements that have the same letters but a space inbetween. For instance "new foo", "newfoo" are the same for printf

View 5 Replies View Related

General :: Find A List Of Files That Are Named Duplicates ?

Jul 2, 2010

How can I find a list of files that are named duplicates i.e. have same name but in different case that exist in the same directory?

View 7 Replies View Related

Programming :: Find A Dir And Delete It?

Apr 19, 2010

I've got this line find . -type d -name 'elements' -exec rm -rf {} ; put together to find and delete all directories named elements and their contents.

It does work but whenever I run it I get the error/warning
Code: find: `./dir3/elements': No such file or directory
find: `./dir6/elements': No such file or directory

[code]....

View 4 Replies View Related

Ubuntu :: Find .zip Files And Then Delete Them?

Apr 13, 2011

I want to use the shell to find .zip files in my music directory and all sub directories and then delete only these files. The following will find the files I want to delete

Code:find /home/me/Music/ -name *.zip -lsWhat is the next step to delete *only* these files.Would it be a good idea to move them to another directory before doing the final rm - how would I do this

View 6 Replies View Related

OpenSUSE :: Find Add/delete Software In Yast

Oct 31, 2010

Where can I find add/delete software in Yast. When I use Gnome I see this entry and on KDE 4.4 that entry seems to be gone.

View 3 Replies View Related

Ubuntu :: Using Sed Or Awk To Find And Delete Lines In A File?

Dec 21, 2010

I have a bunch of text files, all of them have a .txt extension. They are all located in subfolders of the /MyTextFiles folder (but could be anywhere, no idea what depth). If any line in any of the text files has the word "hello" I want to delete that entire line. I know sed and awk are made for this problem but I can't seem to get the syntax correct.

View 1 Replies View Related

Ubuntu :: Find Log Files And Delete Them Based On Age?

Aug 18, 2011

I want find a bunch of log files and delete ones that are older than say 5 days. Ideally I would then like to add this my crontab to run once a day.

The log files are in /var/log and are owned by root. They have a standard naming convention which is [date]RootCronRsync-backupHOME.log An example file is 20100621RootCronRsync-backupHOME.log Trying to put together a bash script to do this I think I need something like

Code: find /var/log/ -name *RootCronRsync-backupHOME.log -mtime +5 -exec rm {} ; However if I try this without the -exec rm (ie to see if I can find the right files first) I get the following error find: paths must precede expression: 20090405RootCronRsync-backupHOME.log Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression]

View 8 Replies View Related

General :: Find And Delete A File Using A Code?

Apr 27, 2011

I am trying to find and delete a file using this Code: find . -type f -name ph2964781400100954291.jpg -exec rm -f {} ; It does not work, I think because by default on my distro rm is iterative.

View 2 Replies View Related

Programming :: Sed: Find Pattern And Delete 5 Lines After It?

Mar 23, 2010

I am trying to edit a print file.

For every occurence of the ^L form feed character I need to remove 5 blank lines after it but still keep the ^L.

I am a rare user of sed and am ok with the basics but am struggling with this.

View 4 Replies View Related

General :: Dualshock 3 With Ubuntu - Can't Find A Delete Button

Jun 4, 2010

My bad it was the game not the controller I figured it out. I can't find a delete button though..........

View 1 Replies View Related

Software :: Find And Delete String In Text Files?

Mar 6, 2010

I have a series of file names in a text file that I generated by running
Code:

bash-4.1# ls -alt *.txz | awk '{print $8}'
and then copy pasting the output. All of these file names have the version number
Quote:
-4.4.1-x86_64-1alien.txz

I just want a method to remove that version number from all the filenames so that I can then add all the packages without version numbers to a blacklist file.

I've tried kwrite and mousepad and both have a search feature and a replace feature but I haven't been able to just have the text removed successfully.

View 3 Replies View Related

Ubuntu :: How To Find / Delete Unused Hidden Config Folders

Oct 12, 2010

I recently moved to a new machine, and I copied my entire home folder across. This included lots of hidden (starting with '.') folders, and in many cases they are config folders for packages which I have not installed on the new machine. They are taking up space, so I would like to delete them, but to go through manually and figure out which ones I need would be very laborious. Is there a way to find, and perhaps delete, config folders for packages that are not installed?

View 2 Replies View Related

General :: Find Duplicate Files And Delete All Except Most Recent Version

Aug 17, 2010

I have a directory containing a ton of photos, some of which are duplicates but just with different names. Is there any way in linux to find all the duplicates and remove all of them except the most recent version? I know on Windows there are utilities that will do this through a GUI, but I'm using Linux through the CLI only.

View 6 Replies View Related

Server :: Find A String In A File And Delete That Line As Well As X Lines After?

Jun 24, 2010

I need to find a string in a file ... then delete the line it is on, as well as the next 6 lines. Or, delete the line the string is on and all subsequent lines until the search finds the character "["

example:

filename = test.txt

contents:
[foo]
test>test
test>test
test>test

[Code]....

so, in this example. I'd like to search the file for string 'foo' and delete all lines from that line until [bar] (not deleting the line with [bar])

View 3 Replies View Related

Programming :: Use Sed To Find String Pattern And Delete Subsequent Characters?

May 3, 2010

I have a file with a number of strings like the ones below

string1#m1asdfe23easdf23wefas
string2#mfaaeb2vr1rhserh
anotherstring#ji89ensrsegr
anotherone#m1ynmdt324nsdt

I'm trying to delete everything after #** so that

string1#maasdfeaveasdfawefas
string2#mfaaebvrserhserh
becomes
string1#ma
string2#mf

tried sed 's/#..*//g' but as you all will know it returns string1, string2 etc.

View 12 Replies View Related

Programming :: Find Out - How To Detach And Delete Shared Memory Segment When Hit Crtl-C

Mar 4, 2011

I have a program that creates and uses a shared memory segment. I am trying to find out how to detach and delete this shared memory segment when I hit crtl-C, and I still need the process to terminate.shmdt() and shmctl() have variables that are local to the main passed to them(shared and shmid)

Code:
//Prototype
void leave(int sig);
//part of code trying to use signal handling
if(signal(SIGINT, leave))

[Code]...

View 3 Replies View Related

Ubuntu :: Could Not Find Package MS-SYS

Feb 5, 2010

I'm trying to fix my mbr for windows through ubuntu because I don't have the actual windows xp recovery disk and Grub will not load windows xp. I entered the command "sudo apt-get update" and it loads all the packages but when I am supposed to type in "sudo apt-get install ms-sys" I get the message "E: couldn't find package ms-sys."

View 4 Replies View Related

Ubuntu :: Tcl Can't Find Package Tk / Get That?

Apr 27, 2011

On my 32-bit 10.04 system, I'm trying to run a tcl script that uses tk ("package require Tk") but I'm always getting this error:

can't find package Tk
while executing
"package require Tk"

tcl version is 8.5 whilst tk is 8.4.16-2 and tklib is 0.5-2. It seems that tcl is not able to find tklib so I wonder if there is a way to tell tll where to find the package.

View 1 Replies View Related

Ubuntu :: Installing On Windows 7 - Error - Cannot Find GRLDR In All Device Press CTRL+ALT+DELETE To Restart

Sep 1, 2011

I installed ubuntu today by installing Wubi and after downloading i rebooted computer and selected ubuntu but i got an error saying 'Try (hd0,0): FAT16: NO WUBILDR' and there was few more but i forgot and at the end it says 'Cannot find GRLDR in all device Press CTRL+ALT+DELETE to restart'. it used to work when i had vista...

View 3 Replies View Related

Software :: Keep The Duplicates Not Remove Them

Jan 17, 2011

Open office Calc all the googles i can read all have removing the duplicates from the spreadsheet. I want to do the exact opposite. I want to keep the dupes and remove the others.

View 1 Replies View Related

Debian :: Cannot Find Exim Package ?

Oct 8, 2010

It's been awhile since last dealt with Debian.

I'm setting up mail server on Debian 5.04

So I need exim4-daemon-heavy, I removed exim4-daemon-light and can't find heavy, in fact can't find any exim package.

View 3 Replies View Related

Debian :: How To Find Out Origin Of Package

Apr 11, 2011

Is there any possibility, how to find out, from which repository the package come from?

View 11 Replies View Related

Debian :: Can't Find Package Manager

Apr 5, 2011

I have just installed Debian 6.0 KDE after the install was completed i logged in to my freshly install KDE and started looking for the package manager or Debian software center but it's not there so i went to terminal and had a go at getting it on. Here is my extremley poor terminal work

robert@HP-COMPAQ-DEBIAN:~$ gksu synaptic
bash: gksu: command not found
robert@HP-COMPAQ-DEBIAN:~$ apt-get install synaptic
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
robert@HP-COMPAQ-DEBIAN:~$ dpkg -l synaptic

[Code].....

View 8 Replies View Related

Fedora :: Cant Find Vlc In Package Manager?

Nov 20, 2009

Where is it?Cant find vlc in package manager?

View 2 Replies View Related

Fedora :: How To Find The Real Package Name Using Yum

Sep 27, 2010

How to check or find the real package name which must be installed for errors below:

There are to many package name if i search using (example) "yum search PythonLibs" or "yum search Threads" or "yum search Libintl". Even sometimes, the yum cannot find what we looking for exactly.

View 5 Replies View Related

OpenSUSE :: Find Which Package Provides A Particular File?

Jan 27, 2010

I was trying to build an RPM today and the compilation errored out because the file glibconfig.h couldn't be found. I managed to track it down to the package glib2-devel.The problem is that I couldn't find a way to do this via zypper. In Mandriva I would've just done 'urpmf glibconfig.h' and it would've told me that it's provided by the package glib2-devel.

Is there equivalent functionality in zypper? (glibconfig.h is an easy pick as being related to glib, but some header file names might be more obscure for example)

View 4 Replies View Related

OpenSUSE :: Find KPlayer 0.7 In A Rpm Package?

Aug 10, 2010

Does anyone know where i can find KPlayer 0.7 in an rpm package?

View 1 Replies View Related

OpenSUSE :: Cannot Find Any Unace Rpm Package

May 30, 2011

I can not find any unace rpm package for opensuse.There is a rpm package?

View 1 Replies View Related

General :: Where To Find Out Where A Package Has Been Installed To

Feb 27, 2011

Fedora 14 xfceI have installed a package using yum install package-name.However, I can't seen to find out where it has been installed to.Is there any command that will tell me what directory the files have been installed to?

View 2 Replies View Related







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