Sponsored Content
Full Discussion: Help on MOVE command
Top Forums UNIX for Dummies Questions & Answers Help on MOVE command Post 1533 by 98_1LE on Tuesday 13th of March 2001 08:16:28 AM
Old 03-13-2001
I don't beleive that mv has that capability. It might be easier to move everything
[code]mv * /dest/directory[code]
and then move your exception back
[code]mv /dest/directory/*.sav /orig/dir[code]
mv doesn't modify the last modified date.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to test whether a move command has been well executed

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

2. Solaris

move command

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

3. Shell Programming and Scripting

Need help on move (mv) command

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

4. Shell Programming and Scripting

Question about move command

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

5. Shell Programming and Scripting

Bulk move in ssh command

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

6. UNIX for Dummies Questions & Answers

Move command within script

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

7. UNIX for Dummies Questions & Answers

Help required with move command

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

8. Shell Programming and Scripting

Help with move command

I need help with a move command from one folder to another In current folder there are files like test_1.txt, test_2.txt I want to move this to another folder /archive with renaming files as test_1_old.txt, test_2_old.txt (actually in old it should be a timestamp which I do it through etl... (8 Replies)
Discussion started by: eskay
8 Replies

9. Shell Programming and Scripting

Find and move command with exec

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

Move and Rename in One Command

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
icmstart.rc(7)						      icmstart resource file						    icmstart.rc(7)

NAME
icmstart.rc - The icmstart(1) resource file DESCRIPTION
The icmstart.rc file defines the initial files of a program that are installed by icmstart(1). By default icmstart.rc is found in /etc/icmake/icmstart.rc, but if a file $HOME/.icmake/icmstart.rc is found then the latter file is used by icmstart(1). $HOME/.icmake/icmstart.rc in turn is overruled by specifying a -c option when invoking icmstart(1). The default resource file contains the following specifications, preparing for the construction of a C++ program using icmbuild(1): CLASSES P main.cc P main.ih P usage.cc P version.cc P ? scanner P ? parser The icmstart.rc file may contain: o empty lines, which are ignored; o lines beginning with a hash-character (#), also ignored; o Optionally: a P (don't install with icmstart xxx library) or an L (don't install with icmstart xxx program), followed by a blank; see also icmstart(1). o Optionall: a ? (followed by a blank) following the optional P or L in which case the installation of the element must be confirmed by the user. o Source path names. Relative path names are interpreted relative to the current working directory. Environment variables are not expanded, the initial tilde character is interpreset as the user's home directory. o Source path names followed by a destination (relative to the directory initialized by icmstart(1)). A source path may be either a file or a directory. If a directory is specified then all files in and below that directory will be installed. When specifying a destination a path may be specified as well. However, the destination path is always interpreted relative to the instal- lation directory specified when calling icmstart(1). If a destination is omitted, the source is installed as specified below icmstart(1)'s destination directory. EXAMPLES
The following entries can be used in an icmstart.rc file: o source `Source' must be in the skeleton directory visited by icmstart(1) and is installed as source in the destination directory specified when calling icmstart(1). o source dest `Source' must be in the skeleton directory visited by icmstart(1) and is installed as dest in the destination directory specified when calling icmstart(1). o ~/path `~/path' is installed as ~/path in the destination directory specified when calling icmstart(1). The ~-character is expanded to the user's home directory. o ~/path dest `~/path' is installed as dest in the destination directory specified when calling icmstart(1). The ~-characteris expanded to the user's home directory. o /path `/path' is installed as ./path in the destination directory specified when calling icmstart(1). o /path dest `/path' is installed as dest in the destination directory o ? source The user must confirm the installation of source. o ? source dest The user must confirm the installation of source as dest in the destination directory specified when calling icmstart(1). o # text Interpreted as comment and ignored. The #-character must be the first character on the line. o an empty line Empty lines are skipped. FILES
The mentioned paths are sugestive only and may be installation dependent: o /usr/share/icmake/icmconf Example of an icmbuild configuration file; o /usr/share/icmake/CLASSES Example of an icmbuild CLASSES file. o /usr/share/icmake/icmstart.rc Default skeleton resource file. SEE ALSO
icmake(1), icmbuild(1), icmconf(7), icmstart(1) BUGS
None reported COPYRIGHT
This is free software, distributed under the terms of the GNU General Public License (GPL). AUTHOR
Frank B. Brokken (f.b.brokken@rug.nl). icmake.7.18.00.tar.gz 1992-2012 icmstart.rc(7)
All times are GMT -4. The time now is 12:28 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy