question in MV command (will move work with 100% used directory)
Dear all,
I am facing a issue in MV command, this move is done by our c program. We are moving the file to same directory so basically I think it will be a rename of the inode. So we might not useany extra space then why the move is failing. Does it require space to move the same size of file in same directory???
Thanks,
Arun
Last edited by Scott; 09-19-2011 at 12:39 PM..
Reason: Code tags...
How to get the current working directory as part of the command prompt? Every time I chage the folder, my command prompt path shoud change. I am using Korn Shell. Any help is greatly appreciated. (3 Replies)
Hi All,
pn:/wrk/an/tran/cr>) ls -ld .ssh
drwx------ 2 crcv1ftp canusr 96 May 2 2007 .ssh
I had .ssh directory inside a directory . When i trying to do find and delete automatic script . The find comman is failing saying it dont have permision to read .ssh .
Can i move... (4 Replies)
I Need help for one requirement,
I want to move the latest/Older file in the folder to another file. File have the datetimestamp in postfix.
Example:
Source Directory : \a
destination Directory : \a\b
File1 : xy_MMDDYYYYHHMM.txt (xy_032120101456.txt)
File2: xy_MMDDYYYYHHMM.txt... (1 Reply)
Hi all,
i have a folder, with tons of files containing as following,
on /my/folder/jobs/
some_name_2016-01-17-22-38-58_some name_0_0.zip.done
some_name_2016-01-17-22-40-30_some name_0_0.zip.done
some_name_2016-01-17-22-48-50_some name_0_0.zip.done
and these can be lots of similar files,... (6 Replies)
Hi All,
Daily i am doing the house keeping in one of my server and manually moving the files which were older than 90 days and moving to destination folder.
using the find command . Could you please assist me how to put the automation using the shell script .
... (11 Replies)
I have a script, which is checking if file exists and move it to another directory
if
then
mkdir -p ${LOCL_FILES_DIR}/cool_${Today}/monthly
mv report_manual_alloc_rpt_A_I_ASSIGNMENT.${Today}*.csv ${LOCL_FILES_DIR}/cool_${Today}/monthly
... (9 Replies)
I have multiple files test1, test2, test3 etc. I want to move to a different directory with ABC_ prefixed to every file and and current dat time as postfix using a single command. (I will be using this is sftp with ! (command for local server).
I have tried the following but it gives error
... (5 Replies)
Discussion started by: Soham
5 Replies
LEARN ABOUT REDHAT
nwgetconnlistfromobject
NWGETCONNLISTFROMOBJECT(3NCP)NWGETCONNLISTFROMOBJECT(3NCP)NAME
NWGetConnListFromObject - Retrieve connection list of specified object
SYNOPSIS
#include <nwcalls.h>
NWCCODE NWGetConnListFromObject(NWCONN_HANDLE conn, nuint32 objID, NWCONN_NUM firstConn, size_t* noOfReturnedConns, NWCONN_NUM* connList);
DESCRIPTION
This function retrieves connection list of specified object from server.
conn
conn contains connection handle obtained from ncp_open(3ncp) or NWParsePath(3ncp).
objID
objID contains server specific object ID. For bindery, it is object ID, for NDS objects it is local entry number.
firstConn
firstConn specifies, from which connection start search. Use 0 on first call and highest returned value on subsequent.
noOfReturnedConns
noOfReturnedConns contains number of returned connections. It may be NULL, there is no reason for pass NULL into this function. At most
125 connections are returned at once.
connList
connList is array for returned connection numbers. It may be NULL, in this case, only noOfReturnedConns is returned. connList array
must be able to hold 125 entries.
RETURN VALUE
Function returns zero on success and non-zero on failure. If specified object does not exist, success is returned and noOfReturnedConns is
set to zero.
If noOfReturnedConns is 125, it is possible that list is incomplete and NWGetConnListFromObject should be invoked again for another set of
connections.
See nwerrors(3ncp) for complete list of error codes.
BUGS
None known.
SEE ALSO nwerrors(3ncp), NWGetObjectConnectionNumbers(3ncp)libncp (>= 2.2.0.14) 04/13/1999 NWGETCONNLISTFROMOBJECT(3NCP)