Hello! 😃
Introduction
Hello, and welcome to my personal “research blog,” on Persagen.com!
This forum will provide the occasional opportunity to share some of my thoughts regarding my scientific and technical passions: molecular genetics, cancer research, natural language computing, computational linguistics, information extraction/retrieval, knowledge stores, knowledge graphs, knowledge discovery, etc.
On a personal note, appended below is a list of some of the “Research News” topics that I follow through various sources: scientific journals, science and technical online sources (RSS), etc. I email the most informative ones [Claws Mail: searchable with mairix (man page], and have been doing so for many years.
Currently, this content exceeds 400 folders (with most of the content cross-referenced through Subject lines and threaded content), containing ~68,500+ articles.
If you have any comments on Persagen.com, my vision or my work please do not hesitate to contact me!
Sincerely,
–
Dr. Victoria A. Stuart, Ph.D.
Vancouver, B.C.
2017-09-02
[victoria@victoria 2_RESEARCH - NEWS]$ dp ## ~/.bashrc alias (d: date; p: pwd) Sat Sep 2 11:52:41 PDT 2017 /home/victoria/Mail/2_RESEARCH - NEWS [victoria@victoria 2_RESEARCH - NEWS]$ ls | sort Acoustics Ageing Ageing - Calorie (Dietary) Restriction Agriculture, Aquaculture, Fisheries Ancient DNA; Ancient Protein Anthropology, Archaeology Transcriptome - RNA-seq ... [SNIP! Deleted 2018-06-06 after updated list appended, below.] ... Translational Science, Medicine Transposons USACEHR-Relevant Literature Vaccines Vision, Eyes, Sight Wasps Women in Science, Medicine [victoria@victoria 2_RESEARCH - NEWS]$ ls | wc -l 402 [victoria@victoria 2_RESEARCH - NEWS]$ ls -R | wc -l 66558 [victoria@victoria 2_RESEARCH - NEWS]$
Update: 2018-06-06
[victoria@victoria 2_RESEARCH - NEWS]$ dp ## ~/.bashrc aliases -- d: date; p: pwd Wed Jun 6 15:56:40 PDT 2018 /home/victoria/Mail/2_RESEARCH - NEWS [victoria@victoria 2_RESEARCH - NEWS]$ ls -l * | wc -l ## ~70K folders, files (emails): 68647 [victoria@victoria 2_RESEARCH - NEWS]$ ls -l | wc -l ## ~410 interest areas: 408 [victoria@victoria 2_RESEARCH - NEWS]$ ls -l | head total 2.4M drwx------ 2 victoria victoria 4.0K Mar 29 09:29 Acoustics drwx------ 2 victoria victoria 20K Jun 6 15:10 Ageing drwx------ 2 victoria victoria 4.0K May 21 11:44 Ageing - Calorie (Dietary) Restriction drwx------ 2 victoria victoria 4.0K Mar 29 09:29 Ageing - Senescence drwx------ 2 victoria victoria 4.0K Mar 29 09:29 Agriculture, Aquaculture, Fisheries drwx------ 2 victoria victoria 4.0K Mar 29 09:29 Ancient DNA; Ancient Protein drwx------ 2 victoria victoria 20K Mar 29 09:29 Anthropology, Archaeology drwx------ 2 victoria victoria 4.0K Mar 29 09:29 Ants drwx------ 2 victoria victoria 4.0K Mar 29 09:29 Archaeology [victoria@victoria 2_RESEARCH - NEWS]$
Here are three approaches to getting a list of those files:
ls -l | sed -r -e 's/\drwx------ 2 victoria victoria.*[0-9]{2}\s//g'
or (better):
for f in ./*; do echo $f | sed 's/^\.\///g'; done
or (output to file):
for f in ./*; do echo $f | sed 's/^\.\///g' >> /mnt/Vancouver/projects/ie/claws/data/cm_folder_list.2019.04.23; done
[victoria@victoria misc]$ head cm_folder_list.2019.04.23; echo; tail cm_folder_list.2019.04.23 Acoustics Ageing Ageing - Calorie (Dietary) Restriction Ageing - Senescence Agriculture, Aquaculture, Fisheries Ancient DNA; Ancient Protein Anthropology, Archaeology Ants Archaeology ARO-Relevant Literature, News Transcriptome - CAGE Transcriptome - FISSEQ Transcriptome - RNA-seq Translational Science, Medicine Transposons USACEHR-Relevant Literature Vaccines Vision, Eyes, Sight Wasps Women in Science, Medicine [victoria@victoria misc]$ cat cm_folder_list.2019.04.23 | wc -l 417
Here is that file.
This is probably the simplest (find . -type f | sed 's/^\.\///g' | sort > tmp
):
[victoria@victoria test]$ pwd; ls -l /home/victoria/test total 12 -rw-r--r-- 1 victoria victoria 0 Apr 23 11:31 a -rw-r--r-- 1 victoria victoria 0 Apr 23 11:31 b -rw-r--r-- 1 victoria victoria 0 Apr 23 11:31 c -rw-r--r-- 1 victoria victoria 0 Apr 23 11:32 'c d' -rw-r--r-- 1 victoria victoria 0 Apr 23 11:31 d drwxr-xr-x 2 victoria victoria 4096 Apr 23 11:32 dir_a drwxr-xr-x 2 victoria victoria 4096 Apr 23 11:32 dir_b -rw-r--r-- 1 victoria victoria 0 Apr 23 11:32 'e; f' -rw-r--r-- 1 victoria victoria 21 Apr 23 11:39 tmp [victoria@victoria test]$ find . -type f ./c ./b ./a ./d ./tmp ./c d ./e; f [victoria@victoria test]$ find . -type f | sed 's/^\.\///g' | sort a b c c d d e; f tmp [victoria@victoria test]$ find . -type f | sed 's/^\.\///g' | sort > tmp [victoria@victoria test]$ cat tmp a b c c d d e; f tmp [victoria@victoria test]$