Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3934852
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T23:45:47+00:00 2026-05-19T23:45:47+00:00

I am using Ubuntu to copy files contained within more than a hundred CD’s

  • 0

I am using Ubuntu to copy files contained within more than a hundred CD’s to a single hard drive. When a CD’s contents has finished copying to the hard drive, I receive no indication that it is done. I would like to create shell script that does the following:

  1. Prompt me for a name to give a new folder
  2. Create the folder on the destination hard drive
  3. Copy the contents of CD currently in the cd drive to the new folder
  4. Notify me when the copy operation is complete

I’ve installed libnotify onto my computer, but I’m open to using other means of notification.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T23:45:48+00:00Added an answer on May 19, 2026 at 11:45 pm
    #!/bin/bash
    while read -r -p "Enter a folder name: " name
    do
        [[ -z $name ]] && break    # quit if user presses enter without input
        mkdir -p "$name"
        cp source "$name"          # use your current copy method
    
        # Notifications: choose one or all six or add your own
        notify-send "Copy complete" "Folder: $name"
        zenity  --title="Copy complete" --text="Copying to folder $name is complete" --info&
        dialog --title "Copy complete" --msgbox "\nCopying to folder\n$name\nis complete\n" 10 60
        for i in {1..4}
        do
            printf '\a'            # make some noise
            sleep 1
        done
        echo "Copying to folder: $name is complete" | mail -S "Copy completion notification" keyslinger@example.com
        printf 'Copy to folder %s is complete.\n' "$name"
    done
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm attempting to copy a series of files and folders using BASH in Ubuntu.
I'm using objcopy on bash (ubuntu linux) and im trying to copy 2 sections
How to copy PHP files from windows to ubuntu without causing problems ?(because of
I'm using Ubuntu 10.04 and Perl 5.10.1. The BioPerl package has some nice scripts,
I am using Ubuntu 12.04 Beta and Vim that has come with it. I
Using Ubuntu, when I run bundle install to set up my Rails environment, it
I am currently using Ubuntu 11.10 and java SE 1.6.0_26. I am trying to
I'm using Ubuntu 12.04 I tried to change my default apache2 port from 80
I am using ubuntu 12.04 and Qt Creator 2.4.1. It builds my C code
I am using ubuntu 12.04 on 64 bit machine, I have this simple C

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.