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 using Ubuntu 8.10 (Intrepid Ibex) and compiling C++ files with GCC, but when
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, fluxbox, pcmanfm as filemanager, xmms2 as music player. My goal:
I am using Ubuntu 9.04 I have installed the following package versions: unixodbc and
I am using Ubuntu 9.04 I just installed ruby and rails in my system
I am using Ubuntu 9.10 beta, whose repositories contain boost 1.38. I would like
I am using Ubuntu 9.10 For a particular piece of code I require GCC
I am trying to get PhysX working using Ubuntu. First, I downloaded the SDK
I have installed the vim-latex package using Ubuntu Synaptic package manager and updated my

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.