4

I want to have some loop sound effect when copy and delete progress showing up until the progress done.

How can I do that?

8
  • So you want a custom sound file being looped during any copy or delete action process? Is that correct?
    – TheOdd
    Nov 21, 2016 at 14:52
  • @OwenHines Yes. I want loop sound effect until the progress reach to the %100.
    – ICE
    Nov 21, 2016 at 17:28
  • 1
    How are you copying and deleting these files? If it's a script can you include the commands in your question? Nov 26, 2016 at 16:29
  • @WinEunuuchs2Unix I'm using Nautilus.
    – ICE
    Nov 26, 2016 at 16:36
  • I doubt that's possible without changing the source code of Nautilus or using something else to move and copy files. Nov 28, 2016 at 17:22

1 Answer 1

0

If you copy files from the terminal I have written a script which works for me on Ubuntu and Mac OS X. Example usage if the script is in your $PATH:

cp -r /src /dst ; say_job_done.sh

It must all be typed on one line so that it will execute when the files are finished being copied. If you want copy progress you can use a program like rsync(1).

say_job_done.sh requires espeak package to be installed in Ubuntu 16.04.

sudo apt-get install espeak

Alternatively

Without my script you can call espeak(1) directly. Note: below syntax uses a Here String in bash(1).

cp -r /src /dst ; espeak <<< "Jobb done."
3
  • Thanks, but I need something to work with Nautilus as you can see on my question tags.
    – ICE
    Nov 30, 2016 at 1:47
  • 1
    I understand. I added my answer for those who might be looking for an alternative solution. If I figure out how to do it in Nautilus I'll update my answer.
    – Sam Gleske
    Nov 30, 2016 at 1:49
  • 1
    Nautilus scripts looks like a promising solution. I'll play with it. - help.ubuntu.com/community/NautilusScriptsHowto
    – Sam Gleske
    Nov 30, 2016 at 1:51

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .