Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Copy files in order of creation date Post 303004361 by jgt on Saturday 30th of September 2017 11:48:30 AM
Old 09-30-2017
Were the original files created substantially at the same time?
The output of 'ls -lt' is not a simple file list, I would have thought that it should be 'ls -t'.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Moving files based on creation date

Howdy, I'm trying to figure out how to move multiple files based on their creation date. If anyone can enlighten me it would be most appreciated!! Thanks! :D (1 Reply)
Discussion started by: dgoyea
1 Replies

2. UNIX for Dummies Questions & Answers

list of files in date order

Im on HP/UX and am trying to find the command like an ll but that will sort showing the most currently modified programs first. Can anyone help me with that? :cool: (2 Replies)
Discussion started by: Jeannine
2 Replies

3. UNIX for Dummies Questions & Answers

How do I organize a series of files in date order?

I'd like to ls a group of files in date order but I'm not sure what the commands would be. Can anyone help with this? (1 Reply)
Discussion started by: hedgehog001
1 Replies

4. Shell Programming and Scripting

Order files by create date

hi Is there a way to sort files in the order they were created ,and move them to another directory one by one ,oldest being the first to be moved. Thanks Arif (4 Replies)
Discussion started by: mab_arif16
4 Replies

5. Shell Programming and Scripting

Sorting Files by date and moving files in date order

I need to build a k shell script that will sort files in a directory where files appear like this "XXXX_2008021213.DAT. I need to sort by date in the filename and then move files by individual date to a working folder. concatenate the files in the working folder then start a process once... (2 Replies)
Discussion started by: rebel64
2 Replies

6. UNIX for Dummies Questions & Answers

Renaming files by changing date order

I'm looking for a simple solution to rename a batch of files. All of the files in this directory start with a date in the format mm.dd.yy followed by a space and then additional descriptive text. Example: 01.21.10 742 P.xlsx 02.24.09 730 Smith.xlsx The information following the date can... (3 Replies)
Discussion started by: kreisel
3 Replies

7. Shell Programming and Scripting

copy files based on creation timestamp

Dear friends.. I have the below listing of files under a directory in unix -rw-r--r-- 1 abc abc 263349631 Jun 1 11:18 CDLD_20110603032055.xml -rw-r--r-- 1 abc abc 267918241 Jun 1 11:21 CDLD_20110603032104.xml -rw-r--r-- 1 abc abc 257672513 Jun 3 10:41... (5 Replies)
Discussion started by: sureshg_sampat
5 Replies

8. Shell Programming and Scripting

Script to copy creation date over top of modified date?

Can someone draw up a script that for every file, folder and subfolder and files that will copy the creation date over top of the modified date?? I know how to touch every file recursively, but no idea how to read a files creation date then use that to touch the modification date of that file,... (3 Replies)
Discussion started by: toysareforboys
3 Replies

9. Shell Programming and Scripting

Bash directory loop and order by creation date?

Hello, how in bash i can get directory loop and order by creation date? THX! :) #!/bin/bash for folder in /home/test/* do if ; then echo $folder; fi (12 Replies)
Discussion started by: ZerO13
12 Replies
uupath(1)						      General Commands Manual							 uupath(1)

NAME
uupath, mkuupath - access and manage the pathalias database SYNOPSIS
pathsfile] mailaddress pathsfile DESCRIPTION
The commands, including and are targeted for removal from HP-UX; see the below. provides electronic message routing by expanding a simple UUCP address into a full UUCP path (see uucp(1)). For example, could be expanded into expands an address by parsing mailaddress for the dominant host (see below) and looking up the host in the appropriate database (see pathalias(1)). If the host is found in the database, the expanded address is written to the standard output. If the host is not found, writes the original address to the standard output and returns an exit status of 1. expects mailaddress to be in UUCP format (hostor ARPANET format (user@host). The option opens the database based on pathsfile rather than the default database based on This database must be a database created by con- sisting of the two files and The dominant host is the left-most UUCP host in mailaddress. If no UUCP host is found (no is in the address), assumes that the address is in the simple ARPANET format user@host. If the address does not match either format, writes the original address to the standard output and returns an exit status of 1. constructs a mail routing database by using the pathsfile data file obtained from (see pathalias(1)). as input. The recommended pathsfile location is because this is the default database used by The database files and are created by If these files already exist, they must be removed prior to running The option specifies verbose mode, which writes a line to the standard output for each entry written to the database. DIAGNOSTICS
returns an exit status of 1 and writes the original mailaddress to the standard output if the address is not found or is incorrectly for- matted. returns an exit status of 2 and prints a diagnostic message if the database files are not accessible, or if improper parameters are given. Otherwise, returns an exit status of 0. If the database files and already exist prior to running the message is displayed. These files must be removed before running WARNINGS
Use of commands, including and is discouraged because they are targeted for removal from HP-UX. Use ftp(1) or rcp(1) instead. AUTHOR
was developed by University of California, Berkeley. FILES
SEE ALSO
pathalias(1), uucp(1). TO BE OBSOLETED uupath(1)
All times are GMT -4. The time now is 02:50 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy