07-07-2013
Check dir for overly path+filename and list in txt
Well since Windows always laments over some of my files having a too long "path+filename" and it gets in the way of copying complete directory structures I would love to have a DOS Script that helps me with finding those.
I already tried DCSoft Long Filename Finder but that is neither DOS based nor does it take the path+filename in account (it only checks the file lenght.
Thanks in advance as always:
pasc
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi experts(novice people can stay away as it is no child's game),
i am developing a script which works like recycle bin of windows.
the problem i am facing is that when ever i am trying to delete a file which is situated in parent directory or parent's parent directory i am unable to... (1 Reply)
Discussion started by: yahoo!
1 Replies
2. Shell Programming and Scripting
the script on excution should take a directory path from useran a numric input and it should check indicate whether its write or not?
if the cmmd sh<script-name>,dir/path.<500>" is greater than 500 in size should be copied to dir ,temp in pwd and display the mesage'files of 2000 bytes hav been... (4 Replies)
Discussion started by: arukr
4 Replies
3. Shell Programming and Scripting
How do I define a particular dir in front of PATH variable and then run some job and then at the end of job SET the PATH variable to original?
in a script, WILL something like this work:
ORIG_PATH=$PATH
export PATH=/dir1/dir2:$PATH
RUN SOME JOBS .....
unset PATH
EXPORT... (2 Replies)
Discussion started by: Hangman2
2 Replies
4. Shell Programming and Scripting
i have several thousand files and in subdirs that are named
file.46634.txt
budget.75346.pdf
etc
i want to remove the number but retain the extension.
it is always a 5 digit.
thanks. (6 Replies)
Discussion started by: jason7
6 Replies
5. Shell Programming and Scripting
Hi All,
I have txt file which has list of files. I have to check whether these files exist or not.
Thanks
supriya (6 Replies)
Discussion started by: supriyabv
6 Replies
6. UNIX for Dummies Questions & Answers
Hey all,
i want to copy only the file names from an ftp server (directory and all sub directory) to a text file in another server (non ftp), i.e. i want to recursively move through directories and copy only the names to a text file.
any help is appreciated...thank you in advance (1 Reply)
Discussion started by: deking
1 Replies
7. UNIX for Dummies Questions & Answers
I am very new to unix as well as shell scripting.
I have to write a script for the following requirement. In have to list all the files in directory and its sub directories along with file path and size of the file
Please help me in this regard and many thanks in advance. (3 Replies)
Discussion started by: nmakkena
3 Replies
8. Shell Programming and Scripting
Please help, I want script to check filename, size and date in specify path.
I want output as:
DATE: YYYYMMDD HH:MM
------------------------------------------------
fileA,filesize,yyyy mm dd HH:MM
fileA,filesize,yyyy mm dd HH:MM
fileA,filesize,yyyy mm dd HH:MM
fileA,filesize,yyyy mm dd... (1 Reply)
Discussion started by: akeji
1 Replies
9. Shell Programming and Scripting
Hi Experts,
I am checking how to get day in Perl.
If it is “Monday” I need to process…below is the pseudo code.
Can you please prove the code for below condition.
if (today=="Monday" )
{
while (current_time LESS THAN 9:01 AM)
... (1 Reply)
Discussion started by: ajaypatil_am
1 Replies
10. UNIX and Linux Applications
ssmtp has been running well under Kubuntu 12.04.1 for plain text messages. I would like to send html messages with ssmtp -t < /path/to/the/message.txt, but I cannot seem to get the message.txt file properly formatted. I have tried various charsets,
Content-Transfer-Encoding, rearranging the... (0 Replies)
Discussion started by: Ronald B
0 Replies
FIRST(1) General Commands Manual FIRST(1)
NAME
first - Yagi-Uda project quick antenna builder
SYNOPSIS
first filename elements f_min f_design f_max f_step diameter
DESCRIPTION
The program first is one of a number of executable programs that forms part of a set of programs, collectively known as the Yagi-Uda
project , which were designed for analysis and optimisation of Yagi-Uda antennas. first is used to define an antenna quickly, if you are
not interested in analysing a specific design (in which case use input ) but need to get a design that is half-way reasonable so that it
may be optimised. It is much faster in use (since its not interactive) than input The design methodology that first is the DL6WU antenna
designs, which are valid for 10 or more elements, although first will calculate for any number of elements. DL6WU reccomends a folded
dipole, but the designs here are for a simple dipole, since I don't yet know how to calculate the self and mutual impedances of folded
dipoles.
LIMITATIONS
Filenames, including full path, can't exceed 90 characters.
Does not take into account the variation of impedance of a dipole with change in wavelength/diameter of elements.
FILES
filename Yagi description, created by first.
filename.out Binary data file, created by yagi.
filename.dat Performance of antenna, created by output.
filename.gai Gain of antenna, created by output.
The DOS .EXE files as distributed require a 387 maths coprocessor to be present and will not run without it. A 486, Pentium, and I assume
later processors of this series will run it without any extra hardware.
PLATFORMS
Both DOS and and Unix versions have been built. The DOS version as distributed requires a 386 PC with a 387 maths coprocessor. The DOS ver-
sion is no longer being developed, so the DOS executables included with the distribution are not upto date with the current source code.
AUTHORS
Dr. David Kirkby G8WRB (david.kirkby@onetel.net). with help with the conversion to the DOS/PC enviroment from Dr. Joe Mack NA3T
(mack@fcrfv2.ncifcrf.gov)
SEE ALSO
input(1), output(1), yagi(1), optimise(1).
BUGS
Bugs should be reported to: David Kirkby G8WRB (david.kirkby@onetel.net). Bugs tend actually to be fixed if they can be isolated, so it is
in your interest to report them in such a way that they can be easily reproduced.
If the input file is edited manually and done incorrectly, there can be unpredictable results.
Options are not checked for sensible numbers. A negative length can be entered!
Version 1.10 Fri Dec 2 1994 FIRST(1)