Re: [Rhythmbox-devel] Seeming duplicates
- From: Aleksander Kamil Modzelewski <aleander shirk pl>
- To: Adam Zimmerman <adam_zimmerman sfu ca>
- Cc: rhythmbox-devel gnome org
- Subject: Re: [Rhythmbox-devel] Seeming duplicates
- Date: Thu, 27 Dec 2007 21:06:38 +0100
On Cz, 2007-12-27 at 11:32 -0800, Adam Zimmerman wrote:
> > Any way I can get rid of these? There's only a couple of times in the
> > actual file system that these duplicates have been physical, so how can
> > I get rid of these (baring in mind that the location of my library is
> > not always the same depth), and how can I remove any software duplicates
> > from the DB?
> You could write a small shell script to go into directories recursively
> and run the command "rm *.ogg~". Rhythmbox would pick up on the missing
> files and list them, and you could just remove them from the library.
>
> My shell scripting skills aren't very "l337" ;), so I make no
> guarantees, but as a first attempt I'd do something like this:
>
> ----removeduplicates.sh----
[CUT]
> ----------------------------
Or maybe just: find $musicdir -name '*.ogg~' -print0 | xargs -0 /bin/rm
[always replace rm with echo while testing :>]
> Adam Zimmerman <adam_zimmerman sfu ca>
Aleander
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]