10 More Discussions You Might Find Interesting
1. Open Source
I have a process that requires me to read data from huge log files and find the most recent entry on a per-user basis. The number of users may fluctuate wildly month to month, so I can't code for it with names or a set number of variables to capture the data, and the files are large so I don't... (7 Replies)
Discussion started by: rbatte1
2. Shell Programming and Scripting
Can you please provide some pointers to move files from Base path to multiple paths in efficient way.Folder Structure is already created.
/Path/AdminUser/User1/1111/Reports/aaa.txt to /Path/User1/1111/Reports/aaa.txt
/Path/AdminUser/User1/2222/Reports/bbb.txt to... (6 Replies)
Discussion started by: karthikgv417
3. Shell Programming and Scripting
Although I have found similar questions, I could not find advice that could help with our problem.
We have a few thousands text files (books).
Each book has many chapters. Each chapter is identified by a cite-key. We need
to split each of those book files by... (4 Replies)
Discussion started by: samask
I need your help with this please. I am trying to move a zone to a new directory but it keeps failing.
Below is what I did and the message I get. Your help will be appreciated.
zoneadm -z testzone move /rpool/testzone
cannot create ZFS dataset rpool/testzone: dataset... (1 Reply)
Discussion started by: cjashu
5. Shell Programming and Scripting
I have a cron job setup that searches for 'core dump' files in a fixed set of directories and moves the core files to a separate file system.
I am able to add date and time info to the file name.
How can I add the source directory path to the file name?
In case anyone is wondering why I... (5 Replies)
Discussion started by: dexter126
6. UNIX for Dummies Questions & Answers
Hi, I have a series of files (upwards of 500) the filename format is as follows
CC10-1234P1999.WGS84.p190, all in one directory.
Now the last three numeric characters, in this case 999, can be anything from 001 to 999.
I need to move some of them to a seperate directory, the ones I need to... (5 Replies)
Discussion started by: roche.j.mike
7. Shell Programming and Scripting
I have a list of paths with files at the end. How can strip off filenames.
This is what I have:
This is what I need:
... (10 Replies)
Discussion started by: djanu
8. Shell Programming and Scripting
I have the following FTP embedded in a Ksh script on AIX 5.3
ftp -n <<WHATEVER
user hcistats *******
Here is what my script returns:
... (3 Replies)
Discussion started by: troym72
9. Shell Programming and Scripting
I have a list of xml file. I need to split the files to a different files when see the <ko> tag.
The list of filename are
... (3 Replies)
Discussion started by: natalie23
10. Shell Programming and Scripting
When I run following script
mv `ls -trF | grep -v / | tail -10 ` ~/directory2
works fine with filenames not having any space but runs into issues with filenames that have spaces tried with $file variable still doesnot work. Can someone help me (4 Replies)
Discussion started by: asakhare