Sponsored Content
Special Forums Windows & DOS: Issues & Discussions Check dir for overly path+filename and list in txt Post 302835671 by Swathe on Monday 22nd of July 2013 11:45:36 PM
Old 07-23-2013
I'm tempted to try and get something whipped up in powershell and see if it can do something along these lines. I'm currently going through this nightmare after an organisations careless 10 year file organisation has caught up with them.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

full path of a file situated either in parent's dir. or parent's parent dir. so on...

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

to check whether a directory or filename path is valid or not

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 PATH variable and then unset that dir

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

rename multiple filename.45267.txt to >> filename.txt

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

How to Check whether list file present in TXT file exist or not

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

Copying dir (and sub dir) file names from ftp server to txt file in diff server

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

How to list all files in dir and sub-dir's recursively along with file size?

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.

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

Perl code to check date and check files in particular dir

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 -t < /path/to/the/message.txt (How to format message.txt for html email)

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
eurephiadm certs(7)													       eurephiadm certs(7)

NAME
eurephiadm-certs - Certificate management for eurephia DESCRIPTION
Available modes for the certificate command are: -A | --add Register a new certificate -D | --delete Delete a registered certificate -l | --list List all registered certificates -h | --help <mode> Help about a specific mode LIST MODE
The list mode will list all registered certificates. It accepts one parameter: -S | --sort <sort key> Decide the sort order of the certificate list Available sort keys are: certid Numeric certificate ID depth Certificate depth digest Certificate SHA1 digest cname Certificate Common Name field org Certificate organisation field email Certificate e-mail address field registered When the certificate was registered in eurephia. ADD MODE
The add mode will register a new certificate. -d | --depth Certificate depth, required. -D | --digest SHA1 fingerprint/digest of the new certificate -C | --common-name Common name (CN) field of the certificate -O | --organisation Organisation (O) field of the certificate -E | --email e-mail address (emailAddress) of the certificate Usually the certificate depth value needs to be 0, if you are registering user account certificates. CA certificates usually have a value bigger than 0. If you have the certificate file available, you can use the following options to retrieve the needed information directly from a certifi- cate file. -f | --certfile File name of the certificate file. -p | --pkcs12 If the file is in PKCS#12 format. The default format is PEM format, unless --pkcs12 is given. These two options cannot be used together with -D, -C, -O or -E. But the cer- tificate depth must be given to indicate the certificate depth. DELETE MODE
The delete mode will remove a certificate from the certificate database. -i | --certid Indicates a unique certificate ID -d | --digest A unique SHA1 fingerprint/digest value -C | --common-name Common Name (CN) field of a certificate -O | --organisation Organisation (O) field of a certificate -E | --email e-mail address (emailAddress) of a certificate You can use any of these parameters to indicate a search criteria for the certificate (or certificates) you want to delete. You will be provided with a list over certificates which matches your search criteria and you will need to approve the deletion of the matching cer- tificate(s). SEE ALSO
eurephiadm-users(7), eurephiadm-usercerts(7) AUTHOR
Copyright (C) 2008-2010 David Sommerseth <dazo@users.sourceforge.net> David Sommerseth July 2010 eurephiadm certs(7)
All times are GMT -4. The time now is 06:21 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy