9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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
2. Shell Programming and Scripting
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
3. Shell Programming and Scripting
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
4. UNIX for Dummies Questions & Answers
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
5. Shell Programming and Scripting
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. Shell Programming and Scripting
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
7. UNIX for Dummies Questions & Answers
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
8. UNIX for Dummies Questions & Answers
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
9. UNIX for Dummies Questions & Answers
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