Results 1 to 6 of 6

Thread: Program for ckecking the unbroken files

  1. #1
    Join Date
    Oct 2012
    Beans
    212
    Distro
    Ubuntu 12.04 Precise Pangolin

    Program for ckecking the unbroken files

    Hi guys i hope that you are fine.

    Just i want to know if is there any program in ubuntu that ckecks a file if is broken or not ?

    for example :I have 100 files with .pdf .mp3 .mp4 .txt extension

    How will i know the files that is broken and unbroken ?


    thanks.....

  2. #2
    Join Date
    Jul 2011
    Beans
    3,037
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Program for ckecking the unbroken files

    And what exactly do you mean by broken?

  3. #3
    Join Date
    Oct 2012
    Beans
    212
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Program for ckecking the unbroken files

    Quote Originally Posted by 2F4U View Post
    And what exactly do you mean by broken?
    I can't open (.pdf .txt etc) or run (.mp3 .mp4 .flv) it .

  4. #4
    Join Date
    Nov 2010
    Location
    India
    Beans
    4,840
    Distro
    Ubuntu Development Release

    Re: Program for ckecking the unbroken files

    are you trying to open those files ?
    ok may i know with what programs you are doing that .
    Google First your issue , if no solution then ask.

    రాజ శేఖర్ రెడ్డి

  5. #5
    Join Date
    Aug 2011
    Location
    52° N 6° E
    Beans
    2,869
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: Program for ckecking the unbroken files

    Ah, broken in the sense of damaged, invalid. So we ideally need a .pdf viewer/.mp3 player/etc. that returns non-zero to the shell whenever it detects an error in the file (and preferably has an option to prevent any graphical/sound output). It's easy to program if you already have this viewer/player, but does anyone know whether somebody really build this into one of the viewers/players?

    Besides, .txt files are unlikely to get damaged in such a way that you cannot open them, simply because they don't have a specific syntax. Unless your text editor doesn't get their encoding right. Have you checked the encoding of those .txt files?

    And the obvious thing, have you checked you have read permissions for those files? Or have they been stored on a broken memory stick?

  6. #6
    Join Date
    Oct 2012
    Beans
    212
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Program for ckecking the unbroken files

    thank you everyone....i'm sorry , my reply is late because i'm busy

    but surely your replies are nice thank you again

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
  •