Re: [Rhythmbox-devel] Seeming duplicates



On Dec 27, 2007 3:06 PM, Aleksander Kamil Modzelewski <aleander shirk pl> wrote:
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.
>
> ----------------------------
Or maybe just: find $musicdir -name '*.ogg~' -print0 | xargs -0 /bin/rm
[always replace rm with echo while testing :>]

If I understood right, aren't the duplicates only occasionally on the physical filesystem? It sounds like there are a lot of other duplicates showing up only within RB.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]