Sponsored Content
Full Discussion: Move command within script
Top Forums UNIX for Dummies Questions & Answers Move command within script Post 302456191 by bwcberb on Thursday 23rd of September 2010 11:58:09 AM
Old 09-23-2010
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
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Help on MOVE command

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

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

3. 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

4. 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

5. 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

6. 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

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
certmonger(8)						      System Manager's Manual						     certmonger(8)

NAME
certmaster-submit SYNOPSIS
certmaster-submit [-h serverHost] [-c cafile] [-C capath] [csrfile] DESCRIPTION
certmaster-submit is the helper which certmonger uses to make requests to certmaster-based CAs. It is not normally run interactively, but it can be for troubleshooting purposes. The signing request which is to be submitted should either be in a file whose name is given as an argument, or fed into certmaster-submit via stdin. OPTIONS
-h serverHost Submit the request to the certmaster instance running on the named host. The default is localhost:51235 if a file named /var/run/certmaster.pid is found on the local system, and is read from /etc/certmaster/minion.conf if that file is not found. -c cafile Submit the request over HTTPS instead of HTTP, and only trust the server if its certificate was issued by the CA whose certificate is in the named file. -C capath Submit the request over HTTPS instead of HTTP, and only trust the server if its certificate was issued by a CA whose certificate is in a file in the named directory. EXIT STATUS
0 if the certificate was issued. The certificate will be printed. 1 if the CA is still thinking. A cookie value will be printed. 2 if the CA rejected the request. An error message may be printed. 3 if the CA was unreachable. An error message may be printed. 4 if critical configuration information is missing. An error message may be printed. FILES
/var/run/certmaster.pid the certmaster service's PID file. Its presence is taken to indicate that this system is a CA, and that requests should be submit- ted to a certmaster server running on the local system. /etc/certmaster/minion.conf the certmaster minion configuration file. If there is no indication that the local system is a certmaster server, then this file is consulted to determine the location of the certmaster server. KNOWN BUGS
Checking for the existence of certmaster's PID file is a terrible way to figure out whether we're a minion or not. BUGS
Please file tickets for any that you find at https://fedorahosted.org/certmonger/ SEE ALSO
certmonger(8) getcert(1) getcert-list(1) getcert-list-cas(1) getcert-resubmit(1) getcert-start-tracking(1) getcert-stop-tracking(1) cert- monger-dogtag-ipa-renew-agent-submit(8) certmonger-ipa-submit(8) certmonger_selinux(8) certmonger Manual 7 June 2010 certmonger(8)
All times are GMT -4. The time now is 07:59 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy