regularly copy files to different directory with different file extentions


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers regularly copy files to different directory with different file extentions
# 1  
Old 01-23-2012
regularly copy files to different directory with different file extentions

I have a NAS and I upload my videos to it from time to time. the video format is 3gp but my media player PBO could only play avi. I want to copy these files to different directory and change the extention from 3gp to avi. (yes I want to keep the original version and create a duplicate version with different extention). Could anyone give me some hint which commands I should start to learn for this work. I want my arch linux to check the original folder daily for any newly added files. if there is any new files, then do the copy and change job.

Thanks!
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Copy the files in directory and sub folders as it is to another directory.

How to copy files from one directory to another directory with the subfolders copied. If i have folder1/sub1/sub2/* it needs to copy files to folder2/sub1/sub2/*. I do not want to create sub folders in folder2. Can copy command create them automatically? I tried cp -a and cp -R but did... (4 Replies)
Discussion started by: santosh2626
4 Replies

2. Shell Programming and Scripting

Copy files listed in text file to new directory

I am trying to write a script that will copy all file listed in a text file (100s of file names) to a new directory Assume script will run with main as current working directory and I know how many files/lines will be in List.txt Im trying to work up a test script using this model Contents of... (2 Replies)
Discussion started by: IAmTheGrass
2 Replies

3. Red Hat

Unable to copy files due to many files in directory

I have directory that has some billion file inside , i tried copy some files for specific date but it's always did not respond for long time and did not give any result.. i tried everything with find command and also with xargs.. even this command find . -mtime -2 -print | xargs ls -d did not... (2 Replies)
Discussion started by: before4
2 Replies

4. UNIX for Dummies Questions & Answers

Copy files into another directory

I have a folder will a lot of documents (pdf, xls, doc etc.) which users have uploaded but only 20% of them are currently linking from my html files. So my goal is to copy only the files which are linked in my html files from my Document directory into another directory. Eg: My documents exist... (5 Replies)
Discussion started by: ankitha
5 Replies

5. UNIX for Dummies Questions & Answers

using gsed with cp to sort files in directory - every N file copy to new place

Hi all, I'm having a problem with some basic piping issues... I have been able to get in a directory and ls | gsed in order to list every N file for instance: ls | gsed -n '2~5p' The thing is I want to be able to copy the output files to a new directory. Basically directory /all has a... (4 Replies)
Discussion started by: dgoss
4 Replies

6. UNIX for Dummies Questions & Answers

How to copy all files into the same directory

Dear All, Again I have another simple question. :confused: I want to write a csh which can copy all files of a current directory with a new name in the same directory, I mean: If I have tree bird apple as files in a directory I want to give ,say number 007 as argument to my csh and it copies... (3 Replies)
Discussion started by: dreamer0085
3 Replies

7. Shell Programming and Scripting

Need help renaming bulk file extentions

Hello, I am trying to rename bulk files however i dont think the rename/mv command is giong to help me here. here is a quick snapshot of the files I need to rename: 75008040 -rw-r----- 1 root root 8716 May 8 05:00 10.9.144.2 75008041 -rw-r----- 1 root root 11700 May 8 05:00 10.9.160.2... (10 Replies)
Discussion started by: jallan
10 Replies

8. Solaris

Copy files from the file to another directory

I have created a file that has list of all the files I want to copy into another directory.Is there a way to do it? Thanks In advance (4 Replies)
Discussion started by: shreethik
4 Replies

9. Shell Programming and Scripting

Copy files from one directory to another

Hi when copy the files from one directory to another as like below,it is tried to copy *. as a file. cp /home/rha/*. My objective is to copy all the files (don't care about case sensitive), Thanks in advance for your valuable reply. (1 Reply)
Discussion started by: HAA
1 Replies

10. Shell Programming and Scripting

Copy files from one directory to another

I need to copy about 13 Tb of data from one directory and subdirectories to the other (another mount point). If I run this as a cron, say between 10 pm and 7 am, not all of the files will be copied over. Is there a way of 'resuming' the copy the following evenings until all files are copied over? (0 Replies)
Discussion started by: hd2006
0 Replies
Login or Register to Ask a Question
GST123(1)							gst123 Manual Page							 GST123(1)

NAME
gst123 - A GStreamer based command line media player SYNOPSIS
gst123 [OPTIONS] [URIS...] DESCRIPTION
gst123 is a command line based media player released as free software under the GNU LGPL. OPTIONS
gst123 follows the usual GNU command line syntax, with long options starting with two dashes ('-'). -h, --help Shows a brief help message. --version Prints out gst123 version. --full-version Prints out gst123 version and version of libraries used by gst123. -r, --repeat Repeat playlist forever. -z, --shuffle Shuffle playlist before playing. -Z, --random Play files in random order forever. -x, --novideo Do not play the video stream. -@ <playlist>, --list <playlist> Load files to play from the playlist file. -a, --audio-output <driver>[=<device>] Set audio output driver (and device). See section audio drivers for details. -v, --visualization <plugin_name> Use a plugin for visualization during audio playback. -V, --visualization-list Show a list of available audio visualization plugins which can be used with the -v option. -q, --quiet Don't display any messages (title, codec, ui feedback). --verbose Print GStreamer pipeline used to play files Besides filenames, playlist entries or command line args can be directories. In this case, gst123 recursively searches the directory and plays all files contained in it. INTERRUPT
You can abort gst123 at any time by pressing Ctrl-C. If you are playing multiple files, this will stop the current file and begin playing the next one. If you want to abort playing immediately instead of skipping to the next file, press Ctrl-C within the first second of the playback of a new file. KEYBOARD INPUT
cursor left/right Seek 10 seconds backwards/forwards. cursor down/up Seek 1 minute backwards/forwards. page down/up Seek 10 minute backwards/forwards. space Toggle pause. +/- Increase/decrease volume by 10%. m Toggle mute/unmute. f Toggle fullscreen display (only for videos). 1 Normal video size (only for videos). n Play next file. q Quit gst123. ? Show keyboard help. CONFIGURATION FILE
During start, gst123 will read ~/.gst123rc, if this file exists. Empty lines and lines starting with a # are ignored. The following com- mands are available: audio_output <driver>[=<device>] This sets the default audio driver and the default audio device. It has the same effect as the -a / --audio-output command line option. When both are present, a config file entry and the command line option, the value from the command line option will be used. Read the section on audio drivers for details on the available drivers and syntax. visualization <visualization_plugin> Set default visualization plugin for audio files. This setting has the same effect as the -v / --visualization command line option. When both are present, the value from the command line option will be used. AUDIO DRIVERS
alsa=[<device>] The ALSA driver; when used without argument (as in -a alsa), the ALSA driver uses the default device. To select an ALSA device, its possible to use for example alsa=hw:1 (which will use the hw:1 ALSA device). jack The JACK driver. Device selection is not supported in this case. none Dummy output driver, will not output any audio. oss=[<device>] The OSS driver; when used without argument (as in -a oss), the OSS driver uses the default device. The device can be specified using for example oss=/dev/dsp1 (which would use the OSS device /dev/dsp1). SEE ALSO
gst123 Website (http://space.twc.de/~stefan/gst123.php <http://space.twc.de/~stefan/gst123.php>) Revision 716 2012-04-20 GST123(1)