Find MD5 checksum of a DVD using terminal?

Hi, I was wondering how to find the MD5 checksum of a DVD in my Mac's DVD drive. I no longer have the .ISO and I want to verify its authenticity. Thanks.

You can do that with Disk Utility.
Open Disk Utility and select your disk in the sidebar. From the "Images" menu, choose "MD5 image checksum" from the "Checksum" submenu.

Similar Messages

  • Can't find MD5 checksum for R12.0.0  plz help!!!

    hi,
    iam trying to install R12.0.0 but there were errors in staging and i checked metalink for MD5 Checksum file for R12.0.0 i can't find it... can anyone tell me where to find it??
    thank you

    Hi Sundar;
    I think so, if you find it plz replyAlready cant find it at metalink
    By the way you can make test your setup as
    unzip -t xxx.zip << it will show u zip file has corruption or not for your installation
    Regard
    Helios

  • Md5 checksum in java

    are there any api's in java through which i can find md5 checksum of a file ??
    Gaurav

    Here are a couple of methods you can use...
    public static String md5(byte[] buffer) {
         StringBuffer md5Hash = new StringBuffer(32);
         try {
              byte[] b = java.security.MessageDigest.getInstance("MD5").digest(buffer);
              int len = b.length;
              for (int x=0; x<len; x++) {
                   md5Hash.append(String.format("%02x",b[x]));
         catch (java.security.NoSuchAlgorithmException e) {
              e.printStackTrace();
         return(md5Hash.toString());
    public static String md5File(String file) {
         String md5Hash = "";
         try {
              FileInputStream in = new FileInputStream(file);
              int bytes = in.available();
              byte[] buffer = new byte[bytes];
              in.read(buffer);
              in.close();
              md5Hash = md5(buffer);
         catch (Exception e) {
              e.printStackTrace();
         return md5Hash;
    }

  • How to use md5 Checksums to verify thousands of copied files

    Hello,
    So I need to be able to verify the succesful copy of thousands of files using md5 checksums.
    is there a program for this or a string of code for terminal?
    Please help.
    Cheers.

    I cover how to do that in the link above, but to quickly do this, run the following command on both folder paths:
    find -s ~/Downloads -type f -exec md5 -q {} \; | md5
    This will generate a list of md5 checksums for each file in the directory (in this case, the Downloads directory in your home folder, but you can change this to whatever you would like), and then create a summary checksum of the collective checksums.
    In my case, the above command yields the following checksum:
    42cf9632cf763cad84c633f0cc7c93bb
    Doing this on my Documents folder yields the following checksum:
    782845544f0ecf8a7ae5fa66197d6abd
    You can then compare these to see if they are different. In this case they are, indicating the folders do not have the same contents.
    Keep in mind this may take a while to run, as checksums will have to be computed for each file in the directory. While this is a raw command, you can save it in a script and then simply run the script with an input argument to make it easier. For example, the following script should work:
    #!/bin/bash
    find -s $1 -type f -exec md5 -q {} \; | md5
    Saving this in a text file, naming it something like "dirsum" and then making it executable in a path location such sa /bin (or a custom added path) will make it easily accessible, so you can run the same command by simply typing the following in the Terminal (in this case to calculate a checksum of the Downloads folder):
    dirsum ~/Downloads

  • Cannot copy files from CD or DVD using Finder.

    Hi,
    I cannot copy files and folders from a CD or DVD to my home folder or any folder therein using Finder. I just get the "Not Permitted" symbol next to the mouse pointer when I try to drag a folder out of the CD (or DVD) to my home folder.
    I have checked that I have sufficient permissions to perform this operation and when I copy files from the CD or DVD using the command line, it works without any hassles.
    This is extremely strange and I cannot think of why it should happen.
    A solution would be most welcome as I would prefer not to have to drop into a command line when I have to copy files from CDs or DVDs.
    Regards,
    Apurva
    Apple iBook G4   Mac OS X (10.4)  

    I am experiencing the same problem: after undoing a copy in the Finder from my CD-drive to my Seagate 200GB FW-drive, I am no longer able to copy single files in the Finder from other drives than my harddisk. I can copy from my hard disk to my external harddisk, I can move and copy files within the harddisk, but I cannot copy from my external hard drive or my CD/DVD-drive to my harddisk or from my CD/DVD-drive to my external hard drive or the internal harddisk.
    What is increasingly weird, is that I can easily copy two or more files using drag and drop! I also get a nice green + sometimes when trying to move the files, but there is just no response.
    I have tried the following:
    0) rebooted.
    1) rm com.apple.finder.plist + killall -9 Finder
    2) done that in the finder using cmd-alt-esc to kill the finder.
    3) removed cache files using Yasu from http://jimmitchelldesigns.com/yasu.html, including rebooting
    4) Doublechecked permissions, including locked bits
    5) run periodic everything from the Terminal
    6) repaired permissions
    7) checked the hard disk using disk utility
    8) Logged in as another admin user to no avail.
    I can use the Terminal to copy the files without any problems, and I can open files in other applications and save them where ever from there, but the Finder refuses to let me.
    May Gods wrath kill the Finder for good! I certainly hope 10.5 will show a new Finder!

  • Empty the trash using Terminal on install DVD?

    iMac doesn't boot up - stuck on grey screen with spinning wheel, tried all the suggestions.
    Thought a reinstall of Snow Leopard using the Install DVD would work. And of course I don't have enough space to do so...
    This is what I have so far using Terminal via the install disc:
    cd /Volumes
    ls
    .Trashes   Mac OS X Install Disc 1   Macintosh HD
    cd "Macintosh HD"
    It then brings up all the files on my Mac HD but I'm not sure where to find the Trash and how to empty it :/
    Apparently I can also install and boot from a USB but I'm not sure how that works either... help me please

    I'd suggest getting an external hd.  Install the os to the external hd.  Do it this way you are less likely to loose your valuable data.
    You need
    ls -a
    to see hidden files.  I do
    ls -laF
    to remove a empty directory you need
    rmdir
    to remove a file you need
    rm
    The files are not recoverable.  All deletes are final.
    I recommand
    rm -i
    Here is an overview of the terminal commands.  Lets assume that your account has a short user name of mac.
    Macintosh-HD -> Applications -> Utilities -> Terminal
    #What is my short user name?  Type the whoami command.
    mac $ whoami
    mac
    mac $
    #How to list all of your disks.
    # The ls command is for list
    mac $ ls /Volumes/
    Audio CD       Macintosh-HD   Spotless       Tiger-ext
    mac $
      # Let's say your flash drive is named Spotless
    # cd is change directory
    mac $ cd /Volumes/Spotless
    # pwd is Print Working Directory. A directory is the Unix name for a folder.  You are always in a directory.
    mac $ pwd
    /Volumes/Spotless
    mac $
      # The ls command is for list
    # l is long
    # F is type of file where / is directory.  For directories, the slash is pasted to the end of the name. 
    mac $ ls -lF
    total 134704
    -rw-r--r--     1 mac  staff     64560 Mar  3  2009 A-picture-of-Youpi-key.png
    drwxr-xr-x    83 mac  staff      2822 Nov  7 14:52 Applescript files/
    drwxrwxrwx    12 mac  staff       408 Dec 13  2008 Christmas Cards/
    drwxr-xr-x     9 mac  staff       306 Dec 21 17:39 Christmas Cards 2009/
    ... trimmed ... What does all this mean?
    drwxrwxrwx
    d = directory
    r = read
    w = write
    x = executeable program
    drwxrwxrwx
    ||  |  |
    ||  |   all other users not in first two types
    ||  | 
    ||  group
    ||
    |owner

    What type of entry is this? d = directory, - = file, etc. 
    Every Unix resource: files, folders, etc has an owner, group, other 
    A Unix resource has one owner.
    A Unix resource has one group.  A group contains a list of users.
    To gain access to a file, you can be the owner, in the group, or not the owner and not in the group hence you end up as other. The owner, group, or other  has read, write, or execute permissions.
    # l is long
    # a is all to show hidden files & folders
    mac $ ls -lFa
    total 134736
    drwxr-xr-x    41 mac   staff      1496 Dec 22 17:11 .
    drwxrwxrwt     8 root  admin       272 Dec 24 13:55 ..
    -rwxrwxrwx     1 mac   staff     15364 Dec 23 12:52 .DS_Store*
    drwx------     4 mac   staff       136 Jan 22  2009 .Spotlight-V100
    drwxrwxrwt     5 mac   staff       170 Sep 14 16:36 .TemporaryItems
    d-wx-wx-wx     4 mac   staff       136 Dec 31  1969 .Trashes
    -rw-r--r--     1 mac  staff     64560 Mar  3  2009 A-picture-of-Youpi-key.png
    drwxr-xr-x    83 mac   staff      2822 Nov  7 14:52 Applescript files
    drwxrwxrwx    12 mac   staff       408 Dec 13  2008 Christmas Cards
    drwxr-xr-x     9 mac   staff       306 Dec 21 17:39 Christmas Cards 2009
    ... trimmed ...
    # mv is move or rename
    mv -i the-name the-new-name
    # You can just rename the file back to what it was with mv command.
    mv -i old-name new-name
    Here is what these commands mean:
    cd is change directory
    pwd is a print working directory
    ls is list
    sudo is Super user do
    mv is move or rename
    For cryptic comments, you can always uses the manual command which is man. For example:
    man mv 
    # Type the letter q to quit.
    In case you have spaces in your filenames or directories, you need to escape them. See examples: 
    mac $ ls -l ~/"see it"
    -rw-r--r-- 1 mac staff 3171 Oct 26 23:38 /Users/mac/see it
    mac $
    mac $ cd /Users/mac/Desktop/ttt\ html\ copy/
    Do you know about tabbing? Type in a few letters of a name then press the tab key. The computer will type out the rest of the name if it is unique.
    Press the up arrow key to see the previous command(s).
    To edit a command, use the left arrow key to more left and the right arrow key to move right.  Use the delete key to delete the key to the left.  Type a letter to insert.
    history to see many previous commands. 
    mac $ history
        1  pwd
        2  man ls
        3  history
    You may copy then paste from this list.
    http://discussions.apple.com/thread.jspa?threadID=2692161&tstart=0 
    Robert

  • Using Terminal to Find Locked Files

    Hello all,
    I am a photographer and often use the locking feature on my camera to lock certain images, ones that are good shots.  With Windows, I was able to sort by whether a file was locked or not.  However I am finding that Mavericks does not have this feature.  Therefore I have resorted to using terminal to find locked files.  However I was wondering if I could get assistance in creating a script/command that would take the results of the files I found locked and either copy or move them into a subfolder.
    IE: I have an event folder called BRB-Team1VsTeam2.  I use the command "find . -flags uchg" to find the locked files.  What I need to do now is get the returned result and either copy or move into a subfolder called "locked".
    I tried "find . -flags uchg && cp /locked" but I know the logic isn't quite there but I haven't played with terminal too much to know what I am doing.
    So anyone have a solution to this?  Or know of an application to at least let me search/filter/sort by the file status (IE: Locked vs unlocked)?

    Here is the basic idea, adjust as necessary. The -d option limits the depth into the folder you are searching. You don't need it; I just added if you want to limit the depth into subfolders.
    find /search/path -d 1 -flags uchg -exec cp {} /destination/path \;
    You could roll this up in an Automator workflow, Service, or Folder Action if you want:
    By checking the "Show this action when the workflow runs" you can choose the destination folder at run time. If always the same, leave it unchecked.
    A Folder Action would work on the items added to a particular folder. The find command would have to be modified.
    A Service could be used to pick the source folder, or to add a shortcut command.

  • I recently burned a photos on a few DVDs using finder. Now I have unwanted files in the sidebar of the finder window that are unresponsive and can not be deleted. I have 3 "untitled DVD " files and 1 "spaces app"

    I recently burned  photos on a few DVDs using finder. Now I have unwanted files in the sidebar of the finder window that are unresponsive and can not be deleted. I have 3 "untitled DVD " files and 1 "spaces app" file. The unwanted files occur under "Places"
    What do i have to do to clean up my  finder sidebar?
    HJ

    Hold down the command button while dragging he items out of the finder window.

  • Is there a way to find out if the projector is used from cd or dvd?

    I have a projector which includes options for user to permanently edit some texts. These functions will not work if the projector is used from cd or dvd, because texts can't be saved. Is there a way I could find out if the presentation is used from cd or dvd, so I could hide the editing features and show them only when the projector is used from a hard drive or usb memory stick.

    code would like something like this*:
    driveLetter = the first char of the moviePath
    driveType = baDiskInfo(driveLetter, "type")
    if  driveType = "CD-ROM" or driveType = "DVD-ROM" then
    -- do your stuff here
    end if
    *modify to fit your project
    You could also use FileXtra's fxObj.fx_VolumeIsCDROM() too:
    driveLetter = the first char of the moviePath
    fxObj = xtra("FileXtra4").new()
    isCDDrive = fxObj.fx_VolumeIsCDROM(driveLetter)
    fxObj = 0
    if  isCDDrive then
    -- do your stuff here
    end if

  • Hey,i forgot my login password,so i changed the password by using terminal command(reset password).now i have new user name with new password,but i can't find  my data which i have saved on mac.please help me out in this matter.

    hey,i forgot my login password,so i changed the password by using terminal command(reset password).now i have new user name with new password,
    but i can't find  my data which i have saved on mac.the storage is showing data used and free space on the disk
    please help me out in this matter.

    How did you change your user name?
    resetpassword wouldn't have done it. If you managed to create a new user, then your data is still in the old account.

  • Why do I keep getting the following error message error code 0x80020022 when I try to burn a DVD using Mac Finder?

    Why do I keep getting the following error when I try to burn a DVD using Mac Finder?
    "The disk can't be burned because communication between the computer and the disc drive failed (error code 0x80020022)."

    I forgot about this since I upgraded to an external burn drive but I used to get this error whenever I tried to used a DVD or CD Blank Disc that was a DVD + R or a DVD +/- R or RW Disc Try using only the DVD -R or DVD -RW Disc   (Minus sign - )

  • Log in/out of finder using terminal

    This is a rather odd one:
    Is it possible to log out of one account and log in to another in the finder using terminal?

    Assuming that you are exchanging passwordless keys in ssh, then the assumption account to account security is not a primary concern. If this is true, then you could use AppleScript to automate the change of user and then launch processes as that user. While crude:
    Run this as user1 logged into the Finder:
    tell application "Terminal"
    activate
    tell application "System Events" to keystroke "su user2"
    tell application "System Events" to key code 36
    delay 1
    tell application "System Events" to keystroke "a"
    tell application "System Events" to key code 36
    delay 1
    tell application "System Events" to keystroke "/Applications/Calculator.app/Contents/MacOS/Calculator &"
    tell application "System Events" to key code 36
    end tell
    That will activate Terminal, drop the text su user1 into the command prompt, commit the Enter key, wait a second, pass the user's password to stdin, and commit Enter key again. Then the final command is to send the string path to the application executable. That will launch the applications (Calculator shown above - replace with path the QT Broadcaster) and release the shell so you can do additional scripts as the alternate user.
    By the way, have you looked into Podcast Producer? It sounds like you are doing more live streams so it may not be for you, but figured I'd ask.
    Hope this helps
    This gets you

  • MD5 checksum help

    I am moving about 30Gb of files across between two computers. I want to be sure they have been moved bit-perfectly. I've been told to use MD5 checksum to do this but I am not sure how.
    The files are in nested folders, several levels deep, so I need a solution which will check them all in one go, including all subfolder contents.
    I'm only going to do this once. If it can be done from Terminal, I'm happy to try, if someone can talk me through it... (Have never used Terminal before.)

    I don't how how many files you're talking about but that potentially could be a lot of  checksums.  At any rate here's some suggestions:
    For terminal:
    find path-to-dir -type f -print0 | xargs -0 md5 > x
    find path-to-dir -type f -exec cat {} \; | md5
    First command will generate a md5 for each file into file x.  Do it on the source and destination and compare.
    Second command would be a single md5 for all concatenation of all the files.  Might overflow something I'm guessing.
    Here's some pre-built utilities:
    checkSum+
    md5

  • MD5 Checksum & additional Metadata?

    I've been asked to supply a Pro Res 422 HQ file with its associated MD5 Checksum and additional metadata.
    Can anybody explain how to do this? I'm aware I can export an XML file, but I can find no mentionof MD5 Checksum (what does this mean exactly)?

    MD5 is a security measure to show that a transmitted file has arrived intact and has not been tampered with.
    You create a file and read out it's MD5 (a string of letters and numbers) that uniquely identifies it.
    Send that to the recipients -in an email for example.
    They then download the video, read its MD5 and compare with the information in your email.
    If both are identical, the file is intact.
    More: http://en.wikipedia.org/wiki/MD5
    You can read the md5 using Terminal, but it's a bit fiddly. This free utility might help: http://www.macupdate.com/app/mac/21726/md5

  • MD5 Checksum Changes When Renaming Files in Bridge?

    Just like the title says: MD5 checksum seems to be changing when renaming files in Bridge
    Is this normal? Is there anyway to disable this? Checksums do not seem to change when renaming a file outside of Bridge (ie; in Windows Explorer or Mac Finder).
    Ken
    P.S. System is Windows 7 using Bridge CS6 (64bit)

    Thanks for the quick reply Curt.
    Until you just now asked the question, I could not explain why it should not change. Now, if I understand correctly after googling around a bit, it appears the hash can be computed either with or without the filename (among other things).
    Apparently Bridge computes the hash including the filename. It seems there is an option to compute the hash based only on the file contents (ie; without the filename). My assumption was that by default, the checksum was generated using only the files contents (ie; without the filename).
    I'm hoping someone can comment definitively on how Adobe Bridge does it and whether or not there's a way to change it.
    Ken

Maybe you are looking for

  • How do I export a freeze frame in CS4?

    There's no longer an "Export/Frame" menu option in CS4 (as there was in CS3). How can I export a simple freeze frame from Premiere into another editing program, such as Photoshop? Thanks.

  • I'm setting up my new iPhone 4 and it won't accept my apple ID

    I'm setting up my new iPhone 4 and it won't accept my apple ID. I just created it and everytime I enter it in the setup screen it says Can't Create Apple ID: Account Limit Reached.

  • Use of ECC 6.0 with PI 7.0 server?

    use of ECC 6.0 with PI 7.0 server? what are the requirements for uploading wsdl and Tpz files from service Market Place to PI 7.0 server?

  • SQL Server Long Text column to Oracle CLOB via DB Link

    Does anyone know how to load a SQL Server Long Text column into an Oracle CLOB column using DB Link? When I try to Select from SQL Server table into Oracle table, I receive the error "ORA-00997: illegal use of LONG datatype". Thanks, Susan

  • Transport for ABAP Program

    Hello, Can anyone tell me how I can create a transport for and ABAP Program. It is currently in DEV but needs to go to test. Thanks