Sponsored Content
Top Forums Shell Programming and Scripting Shell Script for Copy files from one location to another location Post 302388809 by allways4u21 on Thursday 21st of January 2010 01:44:11 PM
Old 01-21-2010
Shell Script for Copy files from one location to another location

Create a script that copies files from one specified directory to another specified directory, in the order they were created in the original directory between specified times. Copy the files at a specified interval.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

copy files from one location to similar location

I need help in forming a script to copy files from one location which has a sub directory structure to another location with similar sub directory structure, say location 1, /home/rick/tmp_files/1-12/00-25/ here 1-12 are the number of sub directories under tmp_files and 00-25 are sub... (1 Reply)
Discussion started by: pharos467
1 Replies

2. Shell Programming and Scripting

shell script to replicate the log files from one location to another in real time

Hi, On the server, we have app log files in this location /app/logs/error.log On the same server, in a real time, we would like to replicate that into /var/ directory. if someone has already done this, please share the script. Thanks in advance. (4 Replies)
Discussion started by: lookinginfo
4 Replies

3. Shell Programming and Scripting

How to copy a file from one location to another location?

I have file file1.txt in location 'loc1'. Now i want a copy of this file in location 'loc2' with a new file called test.txt. Please help me how to do this in shell script. (1 Reply)
Discussion started by: vel4ever
1 Replies

4. UNIX for Dummies Questions & Answers

how to copy files and record original file location?

:EDIT: I think my post name should have been labeled: how to copy files and record original file location. not "retain". Hello, this is my first post! I searched the forums a lot before posting, but was unable to answer my question. Here's my problem: There are several hundred text files... (4 Replies)
Discussion started by: willie8605
4 Replies

5. Shell Programming and Scripting

Help with copying the list of files from one location to other location

A) I would like to achive following actions using shell script. can someone help me with writing the shell script 1) Go to some dir ( say /xyz/logs ) and then perform find operation in this dir and list of subdir using find . -name "*" -print | xargs grep -li 1367A49001CP0162 >... (1 Reply)
Discussion started by: GG2
1 Replies

6. Shell Programming and Scripting

How to copy files from one location to another based on a priority?

Hi Gurus, I am a newbie to shell scripting and I am facing a problem right now.I have to automate the copy of files based on a priority.The scenario is as below: 1) There will be files from Mon-Fri with Mon file being named as abc_def_01_YYYYMMDD and Tue file being abc_def_02_YYYYMMDD and so... (4 Replies)
Discussion started by: vikramgk9
4 Replies

7. Shell Programming and Scripting

Copy files from one location to another

I have below files in one location /test/files and also for each dates there are similar files A20130924.0000-0005_file1 A20130924.0000-0005_file2 A20130924.0005-0010_file1 A20130924.0005-0010_file2 . . . A20130924.2355-0000_file1 A20130924.2355-0000_file2 If i execute the script like... (4 Replies)
Discussion started by: Saidul
4 Replies

8. Shell Programming and Scripting

How to copy files from one location to another using xargs??

Hello Experts, I need to copy files from one location to another using xargs. Tried something like this (In Ubuntu & Solaris ). mkdir -p 1234; find /home/emd/Desktop/n007/M007/ -type f -name "A2014*" | xargs -0 cp -r {} /home/emd/Desktop/1234 But every time i run this, a weird error... (6 Replies)
Discussion started by: Saidul
6 Replies

9. Shell Programming and Scripting

Copying the files in to multiple location using shell script

Hi All, i'm trying to copy the 1.txt files (sample files) in to different path location using the below command. But it is not copying the files , when i tried for single location able to copy the file. can any one please assist here. Please find the below path :- /ckr_mkr1/licencekey... (2 Replies)
Discussion started by: venkat918
2 Replies

10. UNIX for Beginners Questions & Answers

Copy data at specified location from multiple files

Hello everyone, Im super new to coding but increasingly in need of it at work. Im have task stacked because of this problems, that I cannot figure out how to solve looking on the internet after trying many many things that looked similar to me. I have multiple data files of the form (see below).... (2 Replies)
Discussion started by: Xfiles_fan
2 Replies
dxmkfontdir(1X) 														   dxmkfontdir(1X)

Name
       dxmkfontdir - Create a list of fonts for the X server.

Syntax
       dxmkfontdir [directory-names]

Description
       The  dxmkfontdir  command  creates  files  that list font names and the font files to which the names correspond, for use when the X server
       starts up.  In each directory specified as a command argument, dxmkfontdir creates the directory's list of fonts and places it  in  a  file
       called fonts.dir.  If you omit arguments, dxmkfontdir creates a fonts.dir file for the current directory.

       The  fonts.dir file lists each font file and gives the name of the font in that file.  To obtain font names, dxmkfontdir searches the files
       in the directory for a property named FONT. If the FONT property is absent, dxmkfontdir uses the names of PCF (.pcf), BDF (.bdf), and  com-
       pressed BDF (.bdf.Z) files, omitting their suffixes.  If a font exists in multiple formats, the PCF format is used.

       When  the  X server starts up, it looks for a fonts.dir file in each font directory in the font path.  It also looks for a fonts.alias file
       in each directory.

Font Aliases
       You can create or edit the fonts.alias file to assign new names to existing fonts.  X clients can then use the alias names to request fonts
       from  the server.  A font alias file can be in one or any number of directories in the font path.  It consists of two columns, separated by
       white space.  The first column lists aliases; the second column contains font name patterns.  Aliases can reference  fonts  in  directories
       other than the one in which the alias file exists.

       To embed white space in the alias name or the font name, enclose the name in  quotation marks ("").  To embed quotation marks (or any other
       characters), precede them with a backslash (.   The following are sample entries from a fonts.alias file:

       courier10			   fixed
       /udir/sally/fonts/courier/10.pcf    "-adobe-helvetica-bold-o-normal--
					    24-240-15-75-p-104-1508859-1"

       If the fonts.alias file contains the string FILE_NAMES_ALIASES alone on a line, each file name in the directory (without its  .pcf  suffix)
       is automatically translated as a font name alias. For example, a file named courier10.pcf would have the font name alias courier10.

See Also
       X(1X), dxfc(1X)

																   dxmkfontdir(1X)
All times are GMT -4. The time now is 08:39 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy