01-19-2010
gaurav,
I migrate to the directory, then execute the command.
It looks as if it works, as after about a second, it just brings me back to the command (no errors output, or anything)
however when I run 'ls' on the directory, it doesnt appear to have changed any files nor do I see any new ones.
Any ideas?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi all -
I'm trying to rename a large number of files all at once and need some help figuring out the command line syntax to do it. I've already done quite a bit of research with the rename and mv commands, but so far haven't found a solution that seems to work for me. So:
The files exist... (10 Replies)
Discussion started by: dave920
10 Replies
2. Shell Programming and Scripting
hi all,
given a path, for example :
/<pwd>/artist/album/
what i would like to do is to rename the album directory like that :
/<pwd>/artist/artist | album/
and i would like to do the latter for all the "artist" directories
and for all the "album" directories that belong to an artist
... (4 Replies)
Discussion started by: OneDreamCloser
4 Replies
3. Shell Programming and Scripting
hi i have a folder full of files. some of the names are quite off because the dimensions were the same and i had to put a 'b' after the initial number so that it didnt overwrite. what i want is a script in unix to overwrite the filwe name leaving some of the title intact, e.g. below are some... (3 Replies)
Discussion started by: shabs1985
3 Replies
4. Shell Programming and Scripting
Hello everyone. I am new to shell scripting and i am required to create a shell script, the purpose of which i will explain below.
I am on a solaris server btw.
Before delving into the requirements, i will give youse an overview of what is currently in place and its purpose.
... (2 Replies)
Discussion started by: goddevil
2 Replies
5. Shell Programming and Scripting
Hi all,
Wondering how this could be accomplished........
a directory contains sequentially numbered files from fw01 to fw999.
How would I insert an additional zero so that the directory lists these files in a proper manner?
(i.e. all double digit files from fw01 to fw99 would become... (3 Replies)
Discussion started by: putter1900
3 Replies
6. Shell Programming and Scripting
I have some 50+ files in the following format :
abcd_vish_running_ZEBRA_20140818.dat_08-14-2014_23:08:23
abcd_vish_running_ZEB-RA_20140818.dat_08-14-2014_23:08:35
abcd_vish_running_ZEB_RA_20140818.dat_08-14-2014_23:08:37
abcd_vish_running_RI-NG_20140818.dat_08-14-2014_23:08:42... (5 Replies)
Discussion started by: SriRamKrish
5 Replies
7. Shell Programming and Scripting
Hi guys,
I need a script to change the file names e.g.:-
below are the mentioned files, i want t0 change the last character of the name 00000.cdr with e.g bep01.smsc.191214210500-00000.cdr to bep01.smsc.191214210500-92311.cdr next file be like bep01.smsc.191214210500-92312.cdr
# ls -ltr... (9 Replies)
Discussion started by: mfaizan40
9 Replies
8. Shell Programming and Scripting
I have a .ksh script that creates an sftp batch file and runs it through sftp. It works except for one thing. If I try to "put" to a different name, it doesn't use the specified remote name...it still "puts" the original local name.
I've tried both of these, and neither work...it will always... (4 Replies)
Discussion started by: dbiggied
4 Replies
9. Shell Programming and Scripting
What is wrong with this script to rename batch of similar files? For example renaming all *.txt files to *.tab .
$ for i in seq {01..10}; do touch ${i}.txt; done
$ ./rename.sh *.txt txt tab
Error:
mv: ‘01.txt’ and ‘01.txt’ are the same file.
Code is:
#!/usr/bin/bash
# renames.sh
#... (6 Replies)
Discussion started by: yifangt
6 Replies
10. UNIX for Beginners Questions & Answers
I wish to rename all files ending in .txt by removing .tex.
Currently I have
me@me-Inspiron-518:~$ ls
a.tex.txt bin b.tex.txt c.tex.txt Desktop Documents Downloads d.tex.txt Music Pictures Public Templates VideosDesired outcome
me@me-Inspiron-518:~$ ls
a.txt ... (2 Replies)
Discussion started by: Xubuntu56
2 Replies
LEARN ABOUT DEBIAN
flpsed
FLPSED(1) BSD General Commands Manual FLPSED(1)
NAME
flpsed -- annotate PostScript and PDF files
SYNOPSIS
flpsed [-bdh] [-t tag=value] [-z zoom] [infile] [outfile]
DESCRIPTION
The flpsed utility allows to annotate Postscript files. PDF files can be imported using the pdftops and exported using the ps2pdf utility.
If the document was saved in Postscript format, added text can be reedited later. flpsed is useful for filling in forms or adding short com-
ments. Batch mode can be used to automate form filling.
The options are as follows:
-b Batch mode (no GUI). In batch mode flpsed reads from stdin, if no infile is specified. Batch mode is useful in combination with the
file ... -t option.
-d Dump tags and values from a document to stdout (implies -b ).
-h Show short help text.
-t tag=value
Set text to value where tag is tag Multiple -t options are allowed.
-z zoom
Set initial zoom value in percent.
-geometry WxH+X+Y
Set initial geometry.
-iconic
Start iconified.
-scheme string
Use fltk scheme string Currently fltk supports "plastic" and "gtk+".
EXIT STATUS
The flpsed utility exits 0 on success, and >0 if an error occurs.
EXAMPLES
The command:
flpsed file1
will start flpsed and load file1 for interactive editing.
The command:
flpsed -b -t foo=bar file1 file2
will set the text of all text fields in file1 carrying the tag "foo" to "bar" and write the resulting Postscript document to file2
SEE ALSO
pdftops(1), ps2pdf(1)
AUTHOR
Johannes Hofmann <Johannes.Hofmann@gmx.de>
BSD
July 18 2007 BSD