the above is my Record in a file I have to read the record and move to the Target folder to copy some records
I was using the above CUT function to read the values, It reads the value correctly but when I try to do
Its not able to cd to particular value coz when I echo the value it print as =c:/Scrip
I dont understand Why I get "=" in front of folder.
Last edited by vbe; 10-27-2010 at 11:49 AM..
Reason: code tags please -
Hi,
I have a folder with a million subdirectories which all have a million files in them (some of them duplicates)..
I am looking for the right program command to move all of the files out of the directories and into one folder-- and replace all of the duplicates..
If anyone has any ideas,... (2 Replies)
Hi,
I have a requirement to move a file from one folder(a) to another folder(b) only when folder (b) have a write permission. Folder permission is 755
If the permission is otherthan 755 we need to come out of the loop
I will appreciate your help
Thanks
Soll (1 Reply)
This is the file structure:
DESKTOP/Root of Photo Folders/Folder1qweqwasdfsd/*jpg
DESKTOP/Root of Photo Folders/Folder2asdasdasd/*jpg
DESKTOP/Root of Photo Folders/Folder3asdadfhgasdf/*jpg
DESKTOP/Root of Photo Folders/Folder4qwetwdfsdfg/*jpg
DESKTOP/Root of Photo... (4 Replies)
Hi,
I need a little help with this one; Let's say I have two directories
/dir1/dir2/dir3old and /dir1/dir2/dir3new
Within dir3old and dir3new are many folders, each containing some files. How can I search all the sub folders in dir3old for files of a specific date and move the files to the... (1 Reply)
Hi all,
let me explain my requirments
i am having 5 folder with different name for eg) abc , cdf , efd, rtg, ead
each 5 folders contain 15 files
i want to move 10 files to some other folder, remain 5 files should be there in the same folder.
give me some suggestion on this. (6 Replies)
Hi All,
I have to requirement to write a shell script to move file from one folder (A) to another five folder (B,C,D,E,F) and destination folder should be blank. In not blank just skip.
This script will run as a scheduler every 2 minutes. It will check number of files in folder A and move 1 to... (9 Replies)
I want to move a folder with spaces from one folder to another.
I have two folders like this,
1).RT_032-222 -4444-01/ 2). RT_032-555 -7777-01/
I want to move files from 2 to 1 through shell script.Here I want to assign this like a user defined variable like as Source branch... (2 Replies)
Hi All,
I have a cron job that has worked wonders:
zip /home/myHostedFolder/public_html/images/_backups/front/$(date +\%Y\%m\%d).zip /home/myHostedFolder/public_html/images/front/* && rm /home/myHostedFolder/public_html/images/front/*
But now work, needs me to modify it. Should be easy but... (5 Replies)
what is the best way to move the contents of a folder to another one without deleting the structure of the first one. the contents could include subfolder too.
both folder, the source-folder and the target-folder are on the same host.
any idea is appreciated . (7 Replies)
Hi Team,
I am new to shell script and there is a requirement where files should be moved from Subfolder to parent folder.
Eg:
parent folder --> /Interface/data/test/IN
Sub folder -->/Interface/data/test/IN/Invoice20180607233338
Subfolder will be always with timestamp... (6 Replies)
Discussion started by: srivarun15
6 Replies
LEARN ABOUT FREEBSD
gelf_getmove
GELF_GETMOVE(3) BSD Library Functions Manual GELF_GETMOVE(3)NAME
gelf_getmove, gelf_update_move -- read and update Elf Move information
LIBRARY
ELF Access Library (libelf, -lelf)
SYNOPSIS
#include <gelf.h>
GElf_Move *
gelf_getmove(Elf_Data *data, int ndx, GElf_Move *move);
int
gelf_update_move(Elf_Data *data, int ndx, GElf_Move *move);
DESCRIPTION
These convenience functions are used to retrieve and update class-dependent Elf32_Move and Elf64_Move structures in an ELF object.
Argument data is an Elf_Data descriptor associated with a section of type SHT_SUNW_move. Argument ndx is the index of the move record being
retrieved or updated. The class-independent GElf_Move structure is described in gelf(3).
Function gelf_getmove() retrieves class-dependent move record at index ndx in data buffer data and copies it to the destination pointed to by
argument move after translation to class-independent form.
Function gelf_update_move() converts the class-independent move information pointed to by argument move to class-dependent form, and writes
it to the move record at index ndx in the data buffer described by argument data. Function gelf_update_move() signals an error if any of the
values in the class-independent representation exceeds the representable limits of the target type.
RETURN VALUES
Function gelf_getmove() returns the value of argument move if successful, or NULL in case of an error. Function gelf_update_move() returns a
non-zero value if successful, or zero in case of an error.
ERRORS
These functions may fail with the following errors:
[ELF_E_ARGUMENT] Arguments data or move were NULL.
[ELF_E_ARGUMENT] Argument ndx was less than zero or larger than the number of records in the data descriptor.
[ELF_E_ARGUMENT] Data descriptor data was not associated with a section containing move information.
[ELF_E_RANGE] A value was not representable in the target type.
SEE ALSO elf(3), elf_getdata(3), elf_getscn(3), gelf(3)BSD August 29, 2006 BSD