All Questions
5
questions
0
votes
2
answers
115
views
Load files in sequential order
I need to load multiple files in my shell script with the same filename but appended in the front of each file name is YYMMDDPERSONNEL
Examples: 231102PERSONNEL and 230103PERSONNEL
There are many ...
1
vote
2
answers
817
views
Replace filename with containing folder name (csh)
I have the exact same question as this poster but, I'm using csh.
I can get the filename I want
set x = V_181_V_d_2_um_phi_4.50_eV_tOn_0.5_ns/SteadyState_out.e
cat "`echo $x | cut -d "/" -f1`.e"
...
3
votes
4
answers
8k
views
/bin/ls: Argument list too long
I am a biology person and running a program named autodock. I have some files from ZINC library in .mol2 format. As per requirement I need to split this files with the csplit command and I received ...
1
vote
2
answers
1k
views
Merging two files using scripts
I am trying to merge two files of different lengths using a script. I want the longer file to be appended to the end of the shorter file and when both files are of equal length they are suppose to ...
1
vote
2
answers
567
views
Create file with specific formatting from directory contents
I am using Solaris and csh.
In $home/test there are five files: a.txt, b.txt, c.txt, d.txt and e.txt.
If I run
% find $home/test/ -type f -print > ../filenames.txt
that file will look like:
/...