I have a text list of about 3,000 file names (image files), which exist on a server and that I want to copy over to another location. I understand the Unix cp code, but what's the string to have it copy multiple files based on an external list?
Many thanks! (4 Replies)
Hi,
I have to copy a set of files abc* in /path/ to /path1/ as abc*_bkp.
The list of files appear as follows in /path/:
abc1
xyszd
abc2
re2345
abcx
..
.
abcxyz
I have to copy them (abc* files only) into /path1/ as:
abc1_bkp
abc2_bkp
abcx_bkp
..
. (6 Replies)
Hi Gurus,
I need to list only the files with out certain extension.
For eg from the following list of files:
I need to only list:
Thanks
Shash (7 Replies)
HI,
I have 3 files that contain the following information (sql output from Oracle database stored in a txt file):
File1.txt :
alter table "SYS"."INT_COST_PRICE" enable row movement;
alter table "SYS"."INT_SOH" enable row movement;
alter table "SYSMAN"."XX_ACI_SKURTP" enable row movement;... (6 Replies)
Hi All
I am trying to copy files from one location to another and given below are some sample ones:
aaa_bbb_ccc_ddd_cost_code_20140330.gz
aaa_bbb_ccc_ddd_revenue_zone_20140329.gz
aaa_bbb_ccc_ddd_benefit_extract_20140330.csv.gz
aaa_bbb_ccc_ddd_profit_zone_20150509.csv.gz... (17 Replies)
Hi all
I am trying to loop through a directory of files using a given search pattern. some of the files will be duplicated due to the pattern, but of the duplicate files i wanted to move the older files to another location.
Is there any straightforward way of doing this ?
One of ways I... (1 Reply)
Hi All,
I need to find all files in a directory which are containing specific pattern. Thing is that file name should not consider if pattern is only in commented area.
all contents which are under /* */ are commented
all lines which are starting with -- or if -- is a part of some sentence... (13 Replies)
guys, i did create a script but its too long, though it function the same.
# cat nightlyscan.sh
#!/usr/ksh
deyt=`date +"%Y-%m-%d"`
for i in `ls -lrt|grep $deyt|awk '{print $9}'`
do
cp -f $i /S1/Sophos/logger/
done
#
but i did not paste it all.
this is the desired. (9 Replies)
I want to extract dates from the files and i have different types of files with pattern. I have list file with the patterns and want to date extract based on it in a sh script
Files in the directory :
file1_20160101.txt
file2_20160101_abc.txt
filexyz20160101.txt
list file with... (2 Replies)
Discussion started by: lijjumathew
2 Replies
LEARN ABOUT DEBIAN
loself
LOSELF(3) MBK LOGICAL STRUCTURE DEFINITIONS LOSELF(3)NAME
loself - mbk logical inductor
DESCRIPTION
The loself is used to describe a logical inductor. The created inductor is a functional logical inductor, not a parasitic inductor. For
the time being, only MIM (i.e. metal) inductor type is supported.
The declarations needed to work on loself are available in the header file "/labo/include/mlo.h".
The following C structure supports the description of the logical inductor :
typedef struct loself
{
struct loself *NEXT ;
struct locon *SCON1 ;
struct locon *SCON2 ;
char *NAME ;
double SELF ;
char TYPE ;
struct ptype *USER ;
} loself_list ;
NEXT Pointer to the next loself of the list.
SCON1 Pointer to the scon1 connector of the inductor. This connector is, of course unique. See locon(3) for details.
SCON2 Pointer to the scon2 connector of the inductor. This connector is, of course unique. See locon(3) for details.
NAME Inductor instance name
SELF Inductance value
TYPE Layer type of the inductor. One legal values is available :
SELFMIM Metal inductor.
USER Pointer to a ptype list, see ptype(3) for details, that is a general purpose pointer used to share informations on the
inductor.
SEE ALSO mbk(1), addloself(3), getloself(3), delloself(3), setloself(3), locon(3), lofig(3), ptype(3).
BUG REPORT
This tool is under development at the ASIM department of the LIP6 laboratory.
We need your feedback to improve documentation and tools.
ASIM /LIP6 August 14, 2002 LOSELF(3)