04-16-2012
mmv can, though it's not installed standard.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi all,
I'd like to use advanced features of mv command.
Is it possible to move all files except one based on his extension ?
I'm searching something like "mv *.* -*.xxx /dest_dir" ...
Thanks all
Michel. (2 Replies)
Discussion started by: michelr
2 Replies
2. Shell Programming and Scripting
Hi its me again am having some prob to validate a script..
The script contain some mv file commands and i have to test whether the mv command has been executed successfully my move command are as follows.........
mv -f... (6 Replies)
Discussion started by: Lutchumaya
6 Replies
3. Solaris
Hi,
I am using SOLARIS 9.
I am trying to move a huge number of files using the mv commands below-
#mv inbuffer/* /tmp/inbuffer/
but system says arguments too long..
Could u please tell which command i need to put for moving AND copying ???
Many Thanks in advance--
Purple (3 Replies)
Discussion started by: thepurple
3 Replies
4. Shell Programming and Scripting
Hi all,
I am using c-shell ,Sun OS. When i am trying to move (mv) a file size more then 2 GB i am getting error like -- parameter value too high -- also ls -ltr command was not working on that .
But when i move a file of size less then or just above 2gb ,It is working fine .
Can... (2 Replies)
Discussion started by: jambesh
2 Replies
5. Shell Programming and Scripting
Is there a way to undo a move after running a command such as this:
find ./* -type f -name "*.pdf" -exec mv {} /new/dir \;
:confused: (3 Replies)
Discussion started by: bbbngowc
3 Replies
6. Shell Programming and Scripting
Hi All,
I am getting an problem. I am using ssh command in shell script to copy all files from a dir to another.
find /home/dee -type f ! -newer /tmp/new | xargs -i cp {} /home/past{}
This works fine but when I replace cp with mv, nothing happens! not even error.
Can anybody please... (0 Replies)
Discussion started by: Deei
0 Replies
7. UNIX for Dummies Questions & Answers
Anyone have an idea to why the statement below does not work within a script but works when issued from the command line?
mv /dir_files/submit.log* /bintemp (1 Reply)
Discussion started by: bwcberb
1 Replies
8. UNIX for Dummies Questions & Answers
Hi I need to move the first file in a folder to an another folder but am facing issues with the below cmd. CAN someone correct me
Ex :
Folder :data/cat/tst
ad2
ad4
ad5
ad6
output req:
data/cat/man
ad2
Command Used :
ls -lt ad*|head -1|mv/data/cat/man (3 Replies)
Discussion started by: akshay01987
3 Replies
9. Shell Programming and Scripting
Hi all,
I am trying to find files newer than a given file and them mv them to a new location.
So I far I have:
find . ! -newer <file_name> -exec ls -l {} \;
and
find . ! -newer <file_name> -exec mv /TEMP_LOCATION {} \;
find is not liking this.
Anyone know how to modify the last... (2 Replies)
Discussion started by: jonnyd
2 Replies
10. UNIX for Beginners Questions & Answers
Hey all, I really need help with some homework I'm having on UNIX. This probably sounds stupid, but I'm being asked to move a file to a specific directory and rename it a specified name in one command. I know how to do it in more than one command, I just can't seem to figure it out using only one... (1 Reply)
Discussion started by: ayylmao12
1 Replies
LEARN ABOUT LINUX
ppmtosixel
ppmtosixel(1) General Commands Manual ppmtosixel(1)
NAME
ppmtosixel - convert a portable pixmap into DEC sixel format
SYNOPSIS
ppmtosixel [-raw] [-margin] [ppmfile]
DESCRIPTION
Reads a portable pixmap as input. Produces sixel commands (SIX) as output. The output is formatted for color printing, e.g. for a DEC
LJ250 color inkjet printer.
If RGB values from the PPM file do not have maxval=100, the RGB values are rescaled. A printer control header and a color assignment table
begin the SIX file. Image data is written in a compressed format by default. A printer control footer ends the image file.
OPTIONS
-raw If specified, each pixel will be explicitly described in the image file. If -raw is not specified, output will default to com-
pressed format in which identical adjacent pixels are replaced by "repeat pixel" commands. A raw file is often an order of magni-
tude larger than a compressed file and prints much slower.
-margin
If -margin is not specified, the image will be start at the left margin (of the window, paper, or whatever). If -margin is speci-
fied, a 1.5 inch left margin will offset the image.
PRINTING
Generally, sixel files must reach the printer unfiltered. Use the lpr -x option or cat filename > /dev/tty0?.
BUGS
Upon rescaling, truncation of the least significant bits of RGB values may result in poor color conversion. If the original PPM maxval was
greater than 100, rescaling also reduces the image depth. While the actual RGB values from the ppm file are more or less retained, the
color palette of the LJ250 may not match the colors on your screen. This seems to be a printer limitation.
SEE ALSO
ppm(5)
AUTHOR
Copyright (C) 1991 by Rick Vinci.
26 April 1991 ppmtosixel(1)