Sponsored Content
Top Forums Shell Programming and Scripting AIX system.... deleting files in remote directory after retrieving files Post 302501817 by Corona688 on Saturday 5th of March 2011 12:58:08 AM
Old 03-05-2011
What makes you guess that the contents of the file are the mistake? What are its contents, and what should its contents be?
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Accidentally deleting directory/files

Hi, I accidentally deleted a big directory with all its sub-directories and bunch of source code files which I have been developing for about 2 years... What will I do now, how can I retrieve my files, directory hierarchy back ??? If anyone, please HELP ! ! ! ... (4 Replies)
Discussion started by: milhan
4 Replies

2. Shell Programming and Scripting

shell script: deleting files from a directory

i have the following problem: use shell script: Two directories have to be searched for files havin the same name. then delete these files from one of these directories. the directory names have to be accepted as command line arguments. what i have done till now is: 1. run a loop... (1 Reply)
Discussion started by: onlyc
1 Replies

3. Shell Programming and Scripting

deleting empty files in a directory

Hello Gurus, I want to delete only empty files (files with 0 bytes) at once from the local directory. Rightnow I need to go through all the files one by one manually and check the empty files before deleting them. Is there any unix command that finds and deletes empty files in a directory?... (5 Replies)
Discussion started by: berlin_germany
5 Replies

4. UNIX for Dummies Questions & Answers

deleting specific lines from all files in a directory

I have a directory full of text data files. Unfortunately I need to get rid of the 7th and 8th line from them all so that I can input them into a GIS application. I've used an awk script to do one at a time but due to the sheer number of files I need some kind of loop mechanism to automate... (3 Replies)
Discussion started by: vrms
3 Replies

5. Linux

deleting only directory not files

Hi Guys, I want to know wheather it is possible to delete directory not files, Example: In one directory there are 10 dirs and 100 files but my req is to delete only dirs not file Wheather it is possible ? (13 Replies)
Discussion started by: manoj.solaris
13 Replies

6. UNIX for Dummies Questions & Answers

deleting all the files inside a directory from a relative path

I have a file inside abc/def/ghi directory. let say a.txt I need to delete this a.txt from abc itself. I have tried ls /abc/def/ghi | xargs rm -r its saying rm: a.txt non-existent also tried rm -rf /def/ghi but in vein. plz help :) (2 Replies)
Discussion started by: gotam
2 Replies

7. Shell Programming and Scripting

FTP files from different directory from remote server to one directory in local

Hi All, I want to search for .log files from folders and sub folders in remote server and FTP them to one particular folder in the local machine. I dont want to copy the entire directory tree structure, just have to take all the .log files from all the folders by doing a recursive search from the... (3 Replies)
Discussion started by: dassv
3 Replies

8. Shell Programming and Scripting

Script for deleting files and directories when the file system reaches the threshold

Hi Can someone assist in writing a script. I have a filesystem named /sybase in my aix lpar. When this filesystem becomes 94% full all the files and directories under /sybase/logs should be deleted immediately. :confused: (7 Replies)
Discussion started by: newtoaixos
7 Replies

9. Shell Programming and Scripting

Shell : deleting only first 2 files in a directory

I have 4 files in a directory and want to delete only first 2 files only.. $ ls -ltr total 640 -rw-r--r-- 1 user other 148779 Oct 12 10:50 file1.xls -rw-r--r-- 1 user other 148779 Oct 12 10:50 file2.xls -rw-r--r-- 1 user other 148779 Oct 12 10:50 file3.xls... (4 Replies)
Discussion started by: giridhar276
4 Replies

10. Shell Programming and Scripting

Deleting files and directory's older than 3 months

I have a qnap TS259 that is running ubuntu. Have successfully setup back scripts that are initiated by cron. I would like to create a couple scrypts that would operate on the recycle bins for both drives. Just want to be able to run the script manually that would walk through both directories... (13 Replies)
Discussion started by: mackconsult
13 Replies
Mono(Mono 1.1.x)														  Mono(Mono 1.1.x)

NAME
monodis - CIL image content dumper and disassembler. SYNOPSIS
monodis [-h] [--help] [--output=FILENAME] [--mscorlib] [--assembly] [--assemblyref] [--classlayout] [--constant] [--customattr] [--declsec] [--event] [--exported] [--fields] [--file] [--forward-decls] [--genericpar] [--implmap] [--interface] [--manifest] [--marshal] [--member- ref] [--method] [--methodimpl] [--methodsem] [--methodspec] [--module] [--moduleref] [--mresources] [--presources] [--nested] [--param] [--parconst] [--property] [--propertymap] [--standalonesig] [--typedef] [--typeref] [--typespec] [--blob] [--strings] [--userstrings] [FILES...] DESCRIPTION
The monodis program is used to dump the contents an ECMA/ISO CIL image (contained in .EXE files that contain extended PE/COFF CIL code). To roundtrip assemblies using ilasm, it is best to use the --output argument, as that will make monodis save the embedded resources in files that can later be properly embedded back by ilasm. Additionally, the tool can be used to dump the contents of the various ECMA CIL metadata tables. OPTIONS
The following Generic options are supported: --help , -h Displays usage instructions. --output=FILENAME Write output into FILENAME and dump any embedded managed resources. --mscorlib For non-corlib assemblies, use "mscorlib" as the assembly name. This is useful for round-tripping the IL with ilasm. --show-method-tokens Display tokens for disassembled methods. OPTIONS TO DISPLAY METADATA TABLES
The following options are used to display metadata tables instead of disassembling the CIL image. --assembly Dumps the contents of the Assembly table. --assemblyref Dumps the contents of the AssemblyRef table. --classlayout Dumps the contents of the ClassLayout table. --constant Dumps the contents of the Constant table. --customattr Dumps the contents of the CustomAttribute table. --declsec Dumps the contents of the DeclSec table. --event Dumps the contents of the Event table. --exported Dumps the contents of the ExportedType table. --fields Dumps the contents of the Field table. --file Dumps the contents of the File table. --forward-decls Dumps forward declarations for classes. --genericpar Dumps the contents of the GenericParam table. --implmap Dumps the contents of the ImplMap table. --interface Dumps the contents of the InterfaceImpl table. --manifest Dumps the contents of the ManifestResource table. --marshal Dumps the contents of the FieldMarshal table. --memberref Dumps the contents of the MemberRef table. --method Dumps the contents of the MethodDef table. --methodimpl Dumps the contents of the MethodImpl table. --methodspec Dumps the contents of the MethodSpec table. --methodsem Dumps the contents of the MethodSemantics table. --module Dumps the contents of the Module table. --moduleref Dumps the contents of the ModuleRef table. --mresources Saves all the managed resources embedded in the assembly into the current directory. To get a list of the embedded resources use the --manifest option. --presources Prints offsets and names of manifest resources embedded in the assembly. --nested Dumps the contents of the NestedClass table. --param Dumps the contents of the Param table. --parconst Dumps the contents of the GenericParameterConstraint table. --property Dumps the contents of the Property table. --propertymap Dumps the contents of the PropertyMap table. --standalonesig Dumps the contents of the StandAloneSig table. --typedef Dumps the contents of the TypeDef table. --typespec Dumps the contents of the TypeSpec table. --typeref Dumps the contents of the TypeRef table. --blob Dumps the entire contents of the blob stream as hex. --strings Dumps the contents of the Strings heap. --userstrings Dumps the contents of the User-Strings heap If no flags are specified the program dumps the content of the image in a format that can be used to rountrip the code. ENVIRONMENT VARIABLES
MONO_PATH Provides a search path to mono and mint where to look for library files. Directories are separated by the platform path separator (colons on unix). Example: /home/username/lib:/usr/local/mono/lib AUTHOR
monodis was written by Miguel de Icaza, Paolo Molaro and Dietmar Maurer. SEE ALSO
pedump(1) Mono(Mono 1.1.x)
All times are GMT -4. The time now is 08:50 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy