10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have wrote the following script to apply a module named "trinity" on my files. (it takes two input files and spit a trinity.fasta as output)
#SBATCH -p node
#SBATCH -A <projectID>
#SBATCH -n 16
#SBATCH -t 7-00:00:00
#SBATCH --mail-type=ALL... (1 Reply)
Discussion started by: @man
2. Shell Programming and Scripting
I have hundreds of files with the following format
I need to move this 1000 files from above to a different date
Is there a way to do that with a script or command (3 Replies)
Discussion started by: dsravanam
3. UNIX for Dummies Questions & Answers
There are files in a directory and I have to move multiple files adding datetimestamp before the file type.
I have to move this files to archive directory adding datatimestamp before .csv
def_YYYYMMDDHHMMSS.csv... (7 Replies)
Discussion started by: eskay
4. Shell Programming and Scripting
I want to move all files from one directory to another directory excluding today (sysdate files) on daily basis.
file name is in pattern file_2013031801, file_2013031802 etc (2 Replies)
Discussion started by: khattak
5. Shell Programming and Scripting
Really stuck up with a requirement where I need to move a file (Lets say date_Employee.txt--the date will have different date values like 20120612/20120613 etc) from one directory to another based on creation/modification dates.
While visiting couple of posts, i could see we can... (3 Replies)
Discussion started by: dsfreddie
6. Shell Programming and Scripting
I have files like file1_Mod.txt, file2_Mod.txt. I want to rename the old files with the last modification date. I write the below script to rename with current date, but I donīt know how to use "date -r" to get the last modification date with the same format I have below... (5 Replies)
Discussion started by: cgkmal
7. UNIX for Advanced & Expert Users
I was very surprised to not be able to find an answer to this question despite my best efforts in Google and elsewhere. Maybe it's a good thing as it forced me to finally become a member in this great forum that i use frequently.
Ok my question:
I want to be able to sort files inside a... (3 Replies)
Discussion started by: stavros
8. Shell Programming and Scripting
hi. I need help my programing friends :p
I need to list all the files with a certain name (for example FileName) by last modification date but only the one with the last date. If there are two files with the same name and same modification date it should print the both.
For example in this set... (6 Replies)
Discussion started by: KitFisto
9. Shell Programming and Scripting
How to copy files from a location to a directory <YYMM> based on last modification date? This will need to run daily.
I want to copy those file for May to 0905 and Jun to 0906.
Appreciate your guidance.:) Thanks.
-rw-rw-rw- 1 ttusr tgrp 4514 May 29 21:49 AB24279J.lot_a... (17 Replies)
Discussion started by: KhawHL
10. Shell Programming and Scripting
Here is the situation:
I have three folders:
a. Storage ( have 50 files for processing)
b. Process (should move ONLY ONE file for processing from storage)
c. Backup (processed files should be moved here from Process folder)
can you help me out to wirte a shell script please.
Process: From... (1 Reply)
Discussion started by: subs2me