02-16-2009
:/
andrew@andrew-desktop:~/Desktop$ rename .JPG .jpg *.JPG
syntax error at (eval 1) line 1, near "."
Sorry for the n00bishness, you guys. Still trying to learn more about the command line.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Using Lynx, when I try to download a .rar, it confirms I want to download and its got it as an appication/rar file.
However, split archives that end in .r## (.r00, .r01 ...) are not recognized as an appication/rar file and it reads the file like a .txt or .html.
How can I fix this?
Thanks! (2 Replies)
Discussion started by: yitzle
2 Replies
2. Shell Programming and Scripting
Hi ,
I need to replace the file name extension with txt to csv,i wrote the below script when executing its giving the below error.Please anyone how to do this?
$ a2.sh
mv: *.: cannot access: No such file or directory
./a2.sh: o: bad number
$ vi a2.sh
a2.sh
-----
#!/bin/ksh
txt=$1... (4 Replies)
Discussion started by: mohan705
4 Replies
3. UNIX for Dummies Questions & Answers
I have a list of files in a particular folder
Example:
File name - sample.F1.test
I want to change the extension of the above file to .csv
The final file should be renamed as sample.csv (4 Replies)
Discussion started by: mazhar803
4 Replies
4. Shell Programming and Scripting
Hi All,
i need to change the filename extension. For simplicity, we can assume that the extension after '.' is 3 characters only... but the filenames can vary.
eg. changing from abc.doc to abc.dxs
can i have a oneline command to achieve this (3 Replies)
Discussion started by: Hiso
3 Replies
5. UNIX for Dummies Questions & Answers
Hello all,
I need to change file extension for all .doc files to .txt file in multiple folders. I know the way to rename them by going to each folder and doing that, but I need something which I can run from home directory so that It does the renaming in all the nested directories.
Thanks. (4 Replies)
Discussion started by: jaysean
4 Replies
6. UNIX for Dummies Questions & Answers
unix program to which a directory name will be passed as
parameter. This directory will contain files with various
extensions. This script will create directories with the names of the
extention of the files and then put the files in the
corresponding folder. All files which do not have any... (2 Replies)
Discussion started by: Deekay.p
2 Replies
7. UNIX for Dummies Questions & Answers
I'm currently only able to perform some very basic functions, so hope this makes sense...
I have a set of about 27 files that need to be renamed from something like this:
000012ABCDEFGHIJ.XXX.YYY.ZZZ
000078KLMNO.XXX.YYY.ZZZ
000099PQ.XXX.YYY.ZZZ
to something like this:
newa012.abc... (11 Replies)
Discussion started by: bbmcg
11 Replies
8. Shell Programming and Scripting
I want to type only the filename of a gcc source that has ".syn" as an extension and copy it, changing the extension to ".c" so it can be compiled.
I do it as follows:
if (-e $1.syn) then
/bin/cp $1.syn $1.c
endif
This works fine, but if I want to repeat the compilation by... (1 Reply)
Discussion started by: ygmwayne
1 Replies
9. UNIX for Dummies Questions & Answers
Hi All,
I want to fetch the files based on .done file and display the .csv files and Wil take .csv files for processing.
1.I need to display the .done files from the directory.
2.next i need to search for the .Csv files based on .done file.then move .csv files for the one directory
... (2 Replies)
Discussion started by: girija.g6
2 Replies
10. Debian
Hi I have a list of files :root@L28mustang:/var/log/exim4/2017/Jul2017_Blast_BC07# ls -lrt | grep mainlog
-rw-r----- 1 Debian-exim adm 3636932 Jul 8 06:25 mainlog.3.gz
-rw-r----- 1 Debian-exim adm 919512 Jul 9 06:27 mainlog.2.gz
-rw-r----- 1 Debian-exim adm 7655054 Jul 10 06:25 mainlog.1... (1 Reply)
Discussion started by: anaigini45
1 Replies
LEARN ABOUT DEBIAN
dvcont
DVCONT(1) General Commands Manual DVCONT(1)
NAME
dvcont - send control commands to DV cameras
SYNOPSIS
dvcont <command1> [ <command2> ... ]
DESCRIPTION
dvcont is a command line tool to send control commands via an IEEE1394 link to a device that implements the AV/C specifications by the 1394
Trade Association. Or for the non-techies: dvcont lets you remote control your DV camera via a Firewire cable. The following commands are
understood:
dev <number>
Select device number on chain to use. (dvcont tries to automatically detect the camera. Use the dev command BEFORE any other com-
mands for manual control.)
play Tell the camera to play. If already playing, it toggles slow-motion.
reverse
Tell the camera to play in reverse. If already playing, it toggles slow-motion.
trickplay < -14 to +14 >
Tell the camera to play at various speeds. 0 = forward play, -14 = fastest reverse, -8 = 1X reverse, -1 = slowest reverse, 1 =
slowest forward, 8 = 1X forward, 14 = fastest forward. (Not supported by all cameras.)
stop Tell the camera to stop playing.
rewind Tell the camera to rewind. (Use in stop or play mode.)
ff Tell the camera to fast forward. (Use in stop or play mode.)
pause Tell the camera to toggle pause play.
next Tell the camera to go to the next frame. (Use in pause mode.)
nextindex
Tell the camera to search for the next scene. (Use in pause or play mode.)
prev Tell the camera to go to the previous frame. (Use in pause mode)
previndex
Tell the camera to search for the previous scene. (Use in pause or play mode)
record Tell the camera to record. (Use with caution!)
eject Tell the camera to eject the tape. (Not supported by all cameras.)
timecode
Report the timecode on tape in the format HH:MM:SS:FF (hours, minutes, seconds, intra-second frames).
seek <timecode>
Tell the camera to go to the timecode, given in format HH:MM:SS:FF as above.
status Report the status of the device.
pluginfo
Report available plugs. (This option is mainly intended for internal development.)
verbose
Tell the program to tell you debug info.
version
Tell the program to tell you the program version.
help Tell the program to show you a help screen.
AUTHORS
dvcont was written by Jason Howard <jason@spectsoft.com> and Dan Dennedy <dan@dennedy.org>. This man page was written with the help of
help2man by Daniel Kobras <kobras@debian.org> for the Debian GNU/Linux distribution (but may be used by others). Updated by Dan Dennedy
<dan@dennedy.org>.
dvcont October 2002 DVCONT(1)