compress disc files to expand at 30 minute intervals onto a usb flash drive ?

Asked by Reb. A. on 2011-01-13

01-12-11
               Compatible open source program for use with versions 9.04 to 10.10 to: download multiple graphics/ audio files from disc & compress unto: u s b high capacity thumb drive - then - to expand at timed 30 minute intervals in rotation. Some related files will be from internet. These files are to be routed via laptop - to - a projector - then to a large white screen. Projector needs to stay running as turning it on and off will prematurely shorten usefulness of the expensive bulb within. The white interval space on screen - between file expansions - could be light blue to help illuminate the media room without physically turning lights on & off between automated presentations. As yet have not located a useful program or combination of programs that will accomplish this task.

               For Ubuntu <email address hidden>

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu bash Edit question
Assignee:
No assignee Edit question
Last query:
2011-01-13
Last reply:
2011-01-13
mycae (mycae) said : #1

Your question is unclear. Can you narrow it down a bit?

>These files are to be routed via laptop - to - a projector - then to a large white screen.

This is totally unclear -- you don't "route files" to a projector. The files contain data that you interpret to construct an image which you display. You then hook up a projector to your laptop's video port.

Any image display program can do that.

As for periodically copying files, as an example, if you want to copy files from every thirty minutes, then the following bash script would do it. I am not sure that this answers your question though, as I am still unclear what you are trying to do.

#!/bin/bash

SOURCEPATH=/path/to/files/*png
DESTPATH=/path/to/newloc/image.png

#Loop indefinitely
while [ 0 -lt 1 ] ; then
do

#Loop over each file.
for i in `ls $SOURCEPATH`
do
   # Copy file from SOURCEPATH
   cp $i $DESTPATH

    #Sleep for 30*60 seconds
    sleep 1800
done

done

Can you help with this problem?

Provide an answer of your own, or ask Reb. A. for more information if necessary.

To post a message you must log in.