Software :: Managing Duplicated Files
Sep 11, 2010
I reckon I waste several tens of gigabytes of storage by holding unwanted copies of personal data and media files over very many partitions. Sometimes they will have identical names, dates and sizes. Other times they may be slightly different in terms of metadata but nonetheless essentially identical in respect of content. It is becoming a nightmare. Any suggestions for how best to get rid of these unwanted files?
View 13 Replies
ADVERTISEMENT
Apr 12, 2011
What I've noticed recently in file managing is that sometimes one file might fit multiple categories yet you must fit it into just one (without linking the file). It is most essential when managing an ebook library or a project library (for example have I placed a particular script under PHP_Scripts folder or CMS folder... I tend to forget).
What I'm looking for is a Tag categorization type of management for files. The PS3 file manager is a good example for this since I could make it generate folders by the artist's name, the year etc. for music files, then I would just navigate to the particular folder to find what I was looking for. Now my question is if such thing already exists as a nautilus extension or as a stand alone application... If not would you guys think it would be worth creating? If you do should it be approached as:
* A Nautilus extension? * or as a python script? For example one that creates a folder with folders in it, made up from the [nautilus] tags of the files you want to browse, then creates links of all the files [you wanted to browse] automatically to the appropriate tag folder[s] generated.
View 3 Replies
View Related
Feb 25, 2011
Here's a little tool that does this:
Without arguments, updates the SOA serial in a zonefile to the current date. If the date was already updated, just updates the revision number (incrementing up to 99, and then again 01). Uses RFC 1912* recommended format.
With $1 == <two digit number>, auto updates (if necessary) just the date part and uses your provided revision number.
With $1 == <eight digit number>, uses that as a date (no validation of any kind), and just auto update the revision number
With $1 == <full serial>, will just replace whatever the serial is with the provided serial, without any validation
* YYYYMMDDRR (4-digit year, 2-digit month, 2-digit day of month, 2-digit revision number)
This script + keeping SOA/NS/MX/CNAME RRs in a common file $included from other files with $ORIGIN and A/PTR/TXT RRs, made everything way easier to manage, enabling me to script some zone switchers, automatic failover/redirection of DNS on WAN changes, etc, etc. I think this stuff might be cool to integrate with something like this script and make nice CLI toolset for bind. Looking forward to implement it.
Code in pastebin
Code:
#!/bin/bash
# globals
script_name="${0##*/}"
script_dir=$(readlink -f "${0%/*}")
script_version=1 .....
View 4 Replies
View Related
Jun 15, 2010
why my data is being duplicated. I store all my data in BOB so the 26.2 GB of data is expected. I don't store anything in .ecryptfs so the 26.2 GB of data is completely unexpected. Could you please explain why this is happening and how to fix it.
View 9 Replies
View Related
Apr 28, 2010
I'm using Ubuntu 9.10 (karmic). And, my ~/.pam_environment looks like the following.
PATH DEFAULT=${PATH}:~/Adobe/Reader9/bin:~/texlive/2009/bin/x86_64-linux
GIT_EDITOR DEFAULT=vim
MANPATH DEFAULT=${MANPATH}:~/texlive/2009/texmf/doc/man
INFOPATH DEFAULT=${INFOPATH}:~/texlive/2009/texmf/doc/info
But, echo $PATH returns me duplicated entries as the following.
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:~/Adobe/Reader9/bin:~/texlive/2009/bin/x86_64-linux:~/Adobe/Reader9/bin:~/texlive/2009/bin/x86_64-linux
I've tried replacing DEFAULT by OVERRIDE in my ~/.pam_environment file. But, that didn't help.
View 1 Replies
View Related
Jun 7, 2010
I have a USB hard drive that is called "My Book", which was listed in the Media folder whenever it was connected. Since I upgraded to Lucid, I now have a permanent folder/drive called "My Book" with an X over the folder icon, and whenever I connect the hard drive, it is given the name "My Book_". I can't change anything about the new, permanent folder; apparently I don't have permission. This has meant that all the applications that linked to files on the hard drive - Banshee etc - can no longer find the files because the hard drive now has a different name.
Does anyone know why this has happened and what I can do to fix it - ie. get rid of this new 'drive'. I'm guessing that the reason the underscore is added when I plug the drive in is due to the existing, redundant but unmoveable, drive icon.
View 2 Replies
View Related
Apr 3, 2011
The (WD 320GB) drive has a single ext3 FS on it. It has had some problems in the past, but all were fixed with fsck -y. Now there are several directories with duplicate filenames. The files with duplicated names are hard links of each other, but the names are identical. I've run several diagnostics over them, looking for, eg, non-printing characters in the name, but they are completely identical. Here are some examples:
[code]....
These are (obviously) from a directory of mp3s, but similar duplications occur throughout the fs - there are several thousand files affected. Some of the diagnostics were programmes I wrote that accessed the directory itself (through the dirent structure). I always thought duplicate filenames in the same directory were impossible in unix/linux; this appears to prove me wrong. Am I missing something? (Kernel version 2.4.20 with xfs extensions. The installation was originally Red Hat 7, but I've changed almost everything, so it's probably more accurate to call it a custom distro.)
View 7 Replies
View Related
Mar 24, 2010
I was trying to install some Windows applications in Wine/PlayOnLinux. The result was not very useful for what I wanted and I removed all the application including wine and Playonlinux completely from my computer (9.10 64bit).But I was not really able to completely clean up what I did because when I right click on any files and use "OPEN WITH", I got a LONG list of application with many of them are uninstalled and duplicated.
View 9 Replies
View Related
Jul 18, 2010
I am trying out Xubuntu 10.04 but after I installed "Gnome-desktop" package to include gnome support I now have duplicated entries on my start menu. Does anyone know how to purge these duplicates? (a terminal based de-duplicating command would be very handy).
View 3 Replies
View Related
Dec 7, 2010
I am trying out Xubuntu 10.04 but after I installed "Gnome-desktop" package to include gnome support I now have duplicated entries on my start menu. Does anyone know how to purge these duplicates? (a terminal based de-duplicating command would be very handy).
View 1 Replies
View Related
Jul 11, 2010
I was looking in a dir I haven't used for a while (I use it for data storage) and found a directory was repeated - that is, two directories with the same name. I renamed one of them, on the assumption that one of them has a non-printing character in its name, and that worked without a problem, but ls -i lists their inodes as the same. ls -l says they both have two inodes (. and ..), and the files they contain have the same names. The inodes of the files is the same (that is, the inode of a file in dir A is the same as the file of the same name in dir B.) Each file in each dir is listed as having only one inode, but it's the same as that in the other dir.
View 1 Replies
View Related
Jul 30, 2009
I have couple hard drives from different linux distro's. on the hdd's are logical volumes created. what i want to do is to backup the data from those hdd's. but when I connect some of them and boot up the system it
gives me an error that there are volume group duplicated and it list the UUID. My host system is centos 5. What is the best solution to rename those volume groups or to mount the drives from other systems, so the data will not get lost?
View 2 Replies
View Related
Dec 13, 2010
I synced my Music Folders on all my computers with rsync. Now when I open Rhythmbox it shows the mp3s as duplicated. So, every album will have two of track 1 and two of track 2 and so on except for the new records and files that were put into that computers Music Folder because they weren't there before.
So, obviously I am doing something wrong with the path of the files/folders because the rsync must be giving the same file different paths or tags or some such. I know from google searching that Rhythmbox will not display duplicates that are true duplicates.
So, short of simply deleting my music folder on every computer and then putting all of the songs back into it... is there anything I can do?
I should mention that the files/folders are not in reality duplicated. I checked both in the folders and also I opened a folder with VLC and it produced a list of tracks that was not duplicated. Its only Rhythmbox that shows them as duplicates.
I am talking about Rhythmbox on my Fedora 13 64 bit installation.
View 2 Replies
View Related
Feb 18, 2011
I noticed this weird behaviour yesterday after the last update (not sure if it's really related, but I didn't notice this before).When I do a fresh start and log in - all the gnome related processes are DOUBLED in the memory Of course it causes weird errors, applet hanging or crashes, very sensible slowness while booting and operating, etc, etc.Basically I have 2 gnome-session loaded at once - one as a child process of gdm-binary and another separate one. Both sessions have all the child process loaded, so I turned out to have 2 Nautilus, 2 Metacity, 2 Gnome-panel, 8 python processes and all the set of applets are also doubled.
View 2 Replies
View Related
Nov 7, 2010
I just upgraded from 9.10 to 10.10 and simultaneously added 4 new hard drives. However I can not read or write to any of the disks (without sudo). They are also showing up twice (mounted and removable on top, unmounted underneath) in the "Places" menu. Of course I want them to be mounted, not removable, R/W'able and only show up once. Here'a a screenshot of where I'm at:I believe I set up fstab correctly:
Code:
# /
UUID=4204d07b-c450-4461-a001-1ef6d4ecb1a3 / ext4 errors=remount-ro 0 1
# swap
UUID=bd1aaecb-ab8c-4f44-ab22-fe25893f671b none swap sw 0 0
#DVD/CDROM
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
[Code]...
View 7 Replies
View Related
May 24, 2010
My execution environment is Linux steamboy 2.6.31-21-generic-pae #59-Ubuntu SMP.If I log in and run a program, the program works properly. The program is a shell script, which executes an environment file, so that path and library settings point correctly.If I have cron run the same program as the same user who logged in, one of the libraries cannot be found. I have sourced .bashrc and the same environment setting file, even though .bashrc executes the same environment file . /home/amr/bin/informix_env.sh
View 1 Replies
View Related
Nov 20, 2010
Host machine is a "2.6.32-24-generic-pae #38-Ubuntu" and VMware Workstation version is 7.1.2 build-301548.In addition to those three IP addresses(192.168.1.254/24, 192.168.1.68/24 and 192.168.1.221/24) seen on a drawing, there are four identical virtual machines inside the 192.168.1.68/24 machine. Virtual machines are named Olive0-3. Olive0 has IP address 192.168.1.100, Olive1 has 192.168.1.101, Olive2 has 192.168.1.102 and Olive3 has 192.168.1.103.
View 1 Replies
View Related
Apr 14, 2010
How do I determine what graphics card I am using in Linux? In windows it's no problem, but I don't know how to determine such things as a) what hardware am I using? and b) what driver am I using? After determining which hardware my display is using, what is the best way to manage the drivers to ensure i'm using the most up to date version?
View 7 Replies
View Related
Jan 6, 2010
I'm looking for a program to manage my music, and if I keep using Banshee, I'm likely to break something in my house. All I want to do is edit file tags (like genre, artist, and album title) - but it won't let me do that. I can't edit the files directly - first I have to get them into the "library", and in order to do that, I can't drag and drop them - it forces me to actually open up the files (which plays them, and sticks them smack into the middle of the "library", and I then have to go searching/scrolling through the whole thing in order to locate them and then finally edit them). And after all this, spending like 4 hours doing all this, I find out that IT DIDN'T ACTUALLY EDIT THE FILES. It edited them in its own mind - for the duration that they were in the "library" - but it didn't make a change to the actual files.
View 7 Replies
View Related
Jan 27, 2010
Is there a way to have grub2 managing two installations from ubuntu on the same pc ?I have two partitions, one with karmic, another with lucid. Grub is detecting automatically the two or more kernels, but assigning them to the same root partition.Is there a way to make update-grub, detecting lucid kernel, and assigning it automatically to lucid partition, and the same for karmic ?It seems, that os-prober, detects the lucid installation from karmic, and print the correct corresponding partition on the screen, but in the config file, the root partition is the wrong one, and os-prober doesn't detect karmic...
View 8 Replies
View Related
Mar 23, 2011
I finished a program that connects to a remote server and does some stuff there for a while. What I want to do is to run several instances of the program to have different connections at the same time, and to be able to manage those processes automatically (for example, if the connection stops, detect it and reconect).
I guess I will have to use the pid of the processes and handle them somehow but I dont really know what to do because I haven't used c++ in a while and I never went that deep. All this will be running in suse, debian and/or yellowdog distros Maybe there's a tutorial or you guys know some tool that i can use,
View 3 Replies
View Related
Jul 19, 2011
I'm having a little issue managing my iphone on archlinux+kde. This is the only way I got it to sync.
sudo killall usbmuxd
sudo usbmuxd -f -v
And then the only program that recognices the device is Clementine and it works quite fine. What I'd like to do is to make that automaticaly, so I wouldn't have to do it everytime i turn on my computer.
View 1 Replies
View Related
Feb 22, 2011
Currently i using webmin,but it missing some important things like $variable -where $variable would be automatically replaced with added domain,and it's kind a strange since plugin for managing other dns server on webmin does that. Also i was not able to generate 100% correct all records,only partial,which make it useless since i was need to fully replace it anyway.So can someone recommend any script/tools for it?I would be even happy with combination of batch tools(which might be even best solution since then i would not need to bother with installing script). How my dns records look:
PHP Code:
$ttl 38400
@ IN SOA ns1.nameserver.com. root.localhost. (
12520521667
7200
7200
604800
[Code]...
View 1 Replies
View Related
Mar 31, 2010
I have centos 5.4 installed (2.6.18-128.2.1.el5 #1 SMP Tue Jul 14 06:36:37 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux), and I am using WHM/Cpanel to manage my server. I am looking for a GUI utility, so I can graphically manage users/groups.
View 1 Replies
View Related
Aug 23, 2010
I have finally weaned my laptop from network manager by setting up my /etc/network/interfaces file. # The loopback network interface auto lo iface lo inet loopback
# The primary network interface allow-hotplug eth0iface eth0 inet dhcp
# Wireless Setup auto wlan0 iface wlan0 inet dhcp wireless-essid linksysn
wireless automatically connects to my home wireless network (linksysn). But suppose I wanted to take this laptop to the coffee house where they have free wifi. I am assuming that my wireless will not automatically connect to any other wifi hotspot except linksysn. So how do i set it up to roam like NM did?
View 5 Replies
View Related
Oct 10, 2009
I've been banging my head over this Linux assignment for a few hours now and just can't figure out a proper solution. Basically we're acting as a system admin for a fictional company, and we have to assign permissions to various directories based on groups. The Executive Group (exec) -exec-normal, exec-secure directories The Project Management Group (pm) The Design Group (design) -preliminary design (des-prelim) and Revised design (des-rev) directories. The End Users group (users) the following users must be made: exec1, exec2, pm1, pm2, des1, des2 ,user1, user2 all files from each group are stored in /home/docs/ The directory tree is as such /home/docs/{exec-normal,exec-secure,des-prelim,des-rev,share}
[Code]...
So what I thought of and tried to do was this: since people of different groups need rwx on same directories I decided to group those people up into their own groups and assign that group to the given directory. So for example design(des1,des2) and pm(pm1,pm2) both need to modify files in /home/docs/des-rev therefore I grouped these 4 users together in a group called GroupRev and made GroupRev the owner of the /home/docs/des-rev/ directory with the permissions drwxrws--- and this works for those users and all but 'users(user1,user2)' need to be able to view docsuments in /home/docs/des-rev as well and if I set the others permission then the WORLD has those permissions. and this problem is consistent in my planning. With this idea I grouped exec1, exec2 into GroupExec and des1, des2, user1, user2 into GroupPrelim and assigned the groups to the proper directories.
so currently my permissions are pretty much the same for each directory drwxrws--- and with this each user can modify files in directories they're supposed to.. but if users from another group need to view documents in another groups directory, they can't. I can't use ACL's and must do it this way. I guess all I'm really asking for here is a push in the right direction.
View 12 Replies
View Related
May 7, 2010
Basically if you go through System > Administration > Users and Groups then I do not get prompted for a password, I cannot see the root account, nor can I add/modify other accounts.
I understand that Ubuntu has now moved away from allowing the root account desktop access which is ok by me even though it's very much in line with something Apple would do. (odd that this comes right after Ubuntu went all apple style with the default theme too.) However, I would like to add other accounts to the machine, for my wife and anyone else i choose for example. Anyways, pushing the "add" button does nothing. Thankfully the "help" button did work which allowed me to do the following workaround.
I managed to get around this by working through the command prompt, open terminal:
user> sudo -i
type in your password
root> users-admin
This allows the addition of accounts, also seems it allows the root account to be enabled though I haven't bothered to test it. The one thing I'll say is that it runs VERY SLOW!
View 3 Replies
View Related
Nov 5, 2010
How does one go about stopping Nautilus from managing the desktop? I want to use Conky, but every time I click on the desktop, it disappears. (Don't refer me to the supposed fixes by changing "own_window_type" because that's not what I want, it doesn't work) I don't use my desktop for any icons and I have no wallpaper, it's just #131313. Does anyone know how I can eliminate the file manager from managing the desktop so I may use Conky? (I have had similar problems on different distros with different file managers controlling the desktop, so I assume stopping Nautilus from managing the desktop will solve it this time)
View 5 Replies
View Related
Dec 20, 2010
Is there any way to manage pairs of Web pages and folders as one does in windows? it is a handy feature
View 1 Replies
View Related
Mar 23, 2011
I have two machines running ubuntu 10.10, one which acts as a media server to which i connect with the other (laptop) using ssh. All of the music is on the media server and I mount it with samba on the laptop.
I want to be able to manage music in my ipod (a very old one, probably G1 or G2) but I can't seem to make it work...
When I connect it to the laptop it looks ok, and the ipod is visible in Rhythmbox but I can't add music to the ipod, not sure why, maybe because all of my music is on the server and not local? If I try to sync the ipod and my library it says that there's not enough disk space since the library is far bigger than the capacity of my ipod.
When connected to the server, I mount the ipod but the Rhythmbox just don't display it. I checked in the plugins and the ipod support is enabled.
View 2 Replies
View Related