I have lot of files whose names are something like the following. I want to change the name of all the files from 'npt02' to 'n02'.
npt02-z30-sr65-rgdt0p50-dc0p01-16x12drw.tpf
npt02-z30-sr65-rgdt0p50-dc0p01-8x6drw.back
npt02-z30-sr65-rgdt0p50-dc0p01-8x6drw-bst-mis.xy... (5 Replies)
I was wondering if someone could help me with this:
I have multiple directories and subdirectories with files in them. I need to move all files from all directories and subdirectories into one root directory. However, when i do
find /home/user -mindepth 1 -iname "*" -type f -exec mv {} . \;
... (3 Replies)
So I am trying to get my juices flowing on another korn shell scripting project I need to do. I hope my examples here will allow someone to get me pointed in the right direction. I hope I am clear with what I am trying to do.
Example:
/incomplete/file1v1c1
/incomplete/temp1v1c1... (2 Replies)
Hi,
I would like to write a loop to change the names of files in a directory. The files are called data1.txt through data1000.txt. I'd like to change their names to a1.txt through a1000.txt. How do I go about doing that? Thanks! (2 Replies)
Hi,
I have a list of names (in a text file) like this:
SRR1234
SRR5678
SRR4321
SRR8876
I'd like to have a unix code to find all the files which have any of above strings in their name and move them to a specific directory. I have my files distributed in many subdirectories so it has to... (3 Replies)
I have file names as shown and want to change the name to have only the first four numbers.
/home/chrisd/Desktop/nips/nips_2013/5212-learning-feature-selection-dependencies-in-multi-task-learning.pdf
/home/chrisd/Desktop/nips/nips_2013/5213-parametric-task-learning.pdf... (3 Replies)
I have a series of files as follows
file-1.pdf
file-2.pdf
file-3.pdf
file-4.pdf
file-5.pdf
file-6.pdf
file-7.pdf
I want to have the file names with odd numbers
starting from an initial number, for example 2000.
The result would be the following:
file-2001.pdf
file-2003.pdf... (9 Replies)
jlha-utils(1) General Commands Manual jlha-utils(1)NAME
jlha -- lzh decompressor/compressor
SYNOPSIS
jlha [[-]{axelvudmcp[q[num]][vnfodizg012]}[w=<dir>]] [archive_file] [file ...]
DESCRIPTION
This manual page documents briefly the jlha commands. This manual page was written for the Debian distribution because the original pro-
gram does not have a manual page.
jlha is a program extracts or creates LZH archive files.
COMMANDS AND OPTIONS
commands:
a Add files to archive
xe EXtract files from archive
l List files from archive
v Verbose list files from archive
u Update files to archive
d Delete files from archive
m Move files to archive
c Create archive
p Print archive to stdout
t Test the integrity of an archive
options:
q quiet output
v verbose output
f force overwrite existing files
t FILES are TEXT files
o[567] Change LHA compression algorithm
w=<dir> specify working directory. only works for (e/x)
d delete files after executing commands. only works for (a/u/c)
i ignore path. only works for (e/x)
z do not compress files (a/u)
0/1/2 change header level (a/u)
e convert text file encoding from/to EUC-JP
y convert filename from Shift-JIS
AUTHOR
This manual page was written by Ying-Chun Liu (PaulLiu) <grandpaul@gmail.com> for the Debian system (but may be used by others). This man-
ual page is in public domain and is freely reproduced, distributed, transmitted, used, modified, built upon, or otherwise exploited by any-
one for any purpose, commercial or non-commercial, and in any way, including by methods that have not yet been invented or conceived.
jlha-utils(1)