Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 29

Thread: [HOW TO]Removing Duplicate Files(batch proccess)

  1. #11
    Join Date
    Nov 2006
    Beans
    Hidden!

    Re: [HOW TO]Removing Duplicate Files(batch proccess)


  2. #12
    Join Date
    Mar 2006
    Beans
    72

    Re: [HOW TO]Removing Duplicate Files(batch proccess)

    Ok I did, and this is what I get:

    Checked out revision 13.
    rhandulle@Don-DiZzLe:~$ cp -aR fslint fslint-2.17
    rhandulle@Don-DiZzLe:~$ cd fslint-2.17
    rhandulle@Don-DiZzLe:~/fslint-2.17$ dpkg-buildpackage -rfakeroot -tc
    dpkg-buildpackage: source package is fslint
    dpkg-buildpackage: source version is 2.16-1
    dpkg-buildpackage: source changed by Pádraig Brady <P@draigBrady.com>
    dpkg-buildpackage: host architecture i386
    dpkg-buildpackage: source version without epoch 2.16-1
    fakeroot debian/rules clean
    dh_testdir
    dh_testroot
    /usr/bin/make -C po clean
    make[1]: Entering directory `/home/rhandulle/fslint-2.17/po'
    rm -Rf locale
    rm -f *.mo
    make[1]: Leaving directory `/home/rhandulle/fslint-2.17/po'
    dh_clean
    dpkg-source -b fslint-2.17
    dpkg-source: warning: source directory `./fslint-2.17' is not <sourcepackage>-<upstreamversion> `fslint-2.16'
    dpkg-source: building fslint in fslint_2.16-1.tar.gz
    dpkg-source: building fslint in fslint_2.16-1.dsc
    debian/rules build
    dh_testdir
    # Could modify source here before install,
    # but doing so would not allow one to run dpkg-buildpackage
    # from a working source tree.
    # Instead source edits are done in install:
    fakeroot debian/rules binary
    dh_testdir
    dh_testroot
    dh_clean
    # Note dh_installdirs will create dirs listed in fslint.dirs
    # Note dh_install will install files listed in fslint.install
    install -Dpm 755 fslint-gui debian/fslint/usr/bin/fslint-gui
    perl -pi -e 's|^liblocation=.*|liblocation="/usr/share/fslint" #deb edit|' debian/fslint/usr/bin/fslint-gui
    perl -pi -e 's|^locale_base=.*|locale_base=None #deb edit|' debian/fslint/usr/bin/fslint-gui
    install -dm 755 debian/fslint/usr/share/fslint/fslint/{fstool,supprt}
    install -dm 755 debian/fslint/usr/share/fslint/fslint/supprt/rmlint
    install -pm 644 fslint.glade fslint_icon.png debian/fslint/usr/share/fslint
    install -dm 755 debian/fslint/usr/share/pixmaps
    ln -s ../fslint/fslint_icon.png debian/fslint/usr/share/pixmaps
    install -pm 755 fslint/{find*,fslint,zipdir} debian/fslint/usr/share/fslint/fslint
    install: cannot stat `fslint/{find*,fslint,zipdir}': No such file or directory
    make: *** [install] Error 1

  3. #13
    Join Date
    Nov 2006
    Beans
    Hidden!

    Re: [HOW TO]Removing Duplicate Files(batch proccess)

    I verified it works for me.
    Are you sure you got all the files?
    Because this works:

    install -pm 644 fslint.glade fslint_icon.png debian/fslint/usr/share/fslint
    install -dm 755 debian/fslint/usr/share/pixmaps
    ln -s ../fslint/fslint_icon.png debian/fslint/usr/share/pixmaps

    But this doesn't?

    install -pm 755 fslint/{find*,fslint,zipdir} debian/fslint/usr/share/fslint/fslint
    install: cannot stat `fslint/{find*,fslint,zipdir}': No such file or directory

  4. #14
    Join Date
    Nov 2006
    Beans
    Hidden!

    Re: [HOW TO]Removing Duplicate Files(batch proccess)

    But this doesn't?

    install -pm 755 fslint/{find*,fslint,zipdir} debian/fslint/usr/share/fslint/fslint
    install: cannot stat `fslint/{find*,fslint,zipdir}': No such file or directory
    Edit/Delete Message

    Ah, I wonder is it something to do with your local shell globbing.
    What shell are you using? Maybe I need to specify bash somewhere.

    I'll look into it.

  5. #15
    Join Date
    Mar 2006
    Beans
    72

    Re: [HOW TO]Removing Duplicate Files(batch proccess)

    I just use the standard Ubuntu terminal and whichever shell come with it, i havnt changed nothing so

    anyways thnx that u'll look in to it.

  6. #16
    Join Date
    Nov 2006
    Beans
    Hidden!

    Re: [HOW TO]Removing Duplicate Files(batch proccess)

    Can you checkout and try building a deb on the latest repo.
    I've removed the brace expansion from the rules file.

    Pádraig.

  7. #17
    Join Date
    Mar 2006
    Beans
    72

    Re: [HOW TO]Removing Duplicate Files(batch proccess)

    Cool!, ill try it as soon as i get back from school.

  8. #18
    Join Date
    Mar 2006
    Beans
    72

    Re: [HOW TO]Removing Duplicate Files(batch proccess)

    Now I get this:

    rhandulle@Don-DiZzLe:~$ cp -aR fslint fslint-2.17
    rhandulle@Don-DiZzLe:~$ cd fslint-2.17
    rhandulle@Don-DiZzLe:~/fslint-2.17$ dpkg-buildpackage -I.svn -rfakeroot -tc
    dpkg-buildpackage: source package is fslint
    dpkg-buildpackage: source version is 2.17-1
    dpkg-buildpackage: source changed by Pádraig Brady <P@draigBrady.com>
    dpkg-buildpackage: host architecture i386
    dpkg-buildpackage: source version without epoch 2.17-1
    fakeroot debian/rules clean
    dh_testdir
    dh_testroot
    /usr/bin/make -C po clean
    make[1]: Entering directory `/home/rhandulle/fslint-2.17/po'
    rm -Rf locale
    rm -f *.mo
    make[1]: Leaving directory `/home/rhandulle/fslint-2.17/po'
    dh_clean
    dpkg-source -I.svn -b fslint-2.17
    dpkg-source: building fslint in fslint_2.17-1.tar.gz
    dpkg-source: building fslint in fslint_2.17-1.dsc
    debian/rules build
    dh_testdir
    # Could modify source here before install,
    # but doing so would not allow one to run dpkg-buildpackage
    # from a working source tree.
    # Instead source edits are done in install:
    fakeroot debian/rules binary
    dh_testdir
    dh_testroot
    dh_clean
    # Note dh_installdirs will create dirs listed in fslint.dirs
    # Note dh_install will install files listed in fslint.install
    install -Dpm 755 fslint-gui debian/fslint/usr/bin/fslint-gui
    perl -pi -e 's|^liblocation=.*|liblocation="/usr/share/fslint" #deb edit|' debian/fslint/usr/bin/fslint-gui
    perl -pi -e 's|^locale_base=.*|locale_base=None #deb edit|' debian/fslint/usr/bin/fslint-gui
    install -dm 755 debian/fslint/usr/share/fslint/fslint/{fstool,supprt}
    install -dm 755 debian/fslint/usr/share/fslint/fslint/supprt/rmlint
    install -pm 644 fslint.glade fslint_icon.png debian/fslint/usr/share/fslint
    install -dm 755 debian/fslint/usr/share/pixmaps
    ln -s ../fslint/fslint_icon.png debian/fslint/usr/share/pixmaps
    install -pm 755 fslint/find* fslint/fslint fslint/zipdir debian/fslint/usr/share/fslint/fslint
    install -pm 755 fslint/fstool/* debian/fslint/usr/share/fslint/fslint/fstool
    install: target `debian/fslint/usr/share/fslint/fslint/fstool' is not a directory
    make: *** [install] Error 1

  9. #19
    Join Date
    Mar 2006
    Beans
    72

    Re: [HOW TO]Removing Duplicate Files(batch proccess)

    R u still there pixelbeat?

  10. #20
    Join Date
    Feb 2007
    Location
    New York
    Beans
    894
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: [HOW TO]Removing Duplicate Files(batch proccess)

    FSlint would be great if it had a useful interface. This free simple Windows program does it better: http://www.geocities.com/hirak_99/goodies/finddups.html

    It lets you select an entire directory, and all duplicates in that directory will be removed, recursively, and any empty directories it creates will be deleted.

    You can also have it "auto mark" all but one of each file. It would be best if you could choose the criteria, though, like "all but the oldest".

    It shows you the duplicate files by highlighting them with the same colors.
    Last edited by Endolith; December 15th, 2007 at 07:22 PM.

Page 2 of 3 FirstFirst 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •