I have a couple thousand data files that all have to have there own directory named exactly the same as the file name. Then the file needs to be moved to that directory. For example files test1.mat, test2.mat, test3.mat in directory X need to have directories test1, test2, test3 created... (6 Replies)
Don't tell me DOS can do something UNIX can't do! I want to copy a number of files from one directory to another, and at the same time change the names. The name changes would be common, e.g., all files starting with the letter 'L' and ending in '30.NEW554', with the copied or new files also... (6 Replies)
Hi,
Are there any sample scripts to change content like file paths, profile paths etc., from test version to production , instead of changing one by one, i would like to pass the in file (prod version/Test version) to convert to test or prod verions.
any help is appreciated!!
~R (1 Reply)
Hi Forum,
I am extremely new to unix.Can somebody please help me out with the following:
I am supposed to write a script that will ftp a file which is a .csv and conatins the following:
Mail-id Path of file
abc@xyz.com D:\xyz\abc.htm
ash@sde.com ... (1 Reply)
Is it possible in VI to do a global change but take the search patterns and the replacement patterns from an external file ?
I have cases where I can have 100,200 or 300+ global changes to do. All the new records are inside a file and I must VI a work file to change all of them.
Also, can... (1 Reply)
Hi :)
Is there any command I could use to rename a bunch of files resident of the same location to their original name plus a fixed text string of my own?
Example:
File1
File2
File3
Output:
File1.txt
File2.txt
File3.txt
This is easy using a "for" loop but what I want is a one-line... (5 Replies)
Anyone has a script or something that can do this? I have a list of about 500 users and I need to add them to an AIX box. The profiles should have "Full Name" and "User Name". (2 Replies)
By the company winning business from another outsource provider, I've suddenly inherited towards 300 servers and all accounts are local.
One of the immediate tasks is to set up all the OS, DB, and app support staff on all of the servers operating systems. I've slapped together a crude script... (10 Replies)
Discussion started by: rbatte1
10 Replies
LEARN ABOUT MOJAVE
aa-autodep
AA-AUTODEP(8) AppArmor AA-AUTODEP(8)NAME
aa-autodep - guess basic AppArmor profile requirements
SYNOPSIS
aa-autodep <executable> [<executable> ...]
DESCRIPTION
aa-autodep is used to generate a minimal AppArmor profile for a set of executables. This program will generate a profile for binary
executable as well as interpreted script programs. At a minimum aa-autodep will provide a base profile containing a base include directive
which includes basic profile entries needed by most programs. The profile is generated by recursively calling ldd(1) on the executables
listed on the command line.
BUGS
This program does not perform full static analysis of executables, so the profiles generated are necessarily incomplete. If you find any
bugs, please report them at <http://https://bugs.launchpad.net/apparmor/+filebug>.
SEE ALSO apparmor(7), apparmor.d(5), aa-complain(1), aa-enforce(1), aa-disable(1), aa_change_hat(2), and <http://wiki.apparmor.net>.
AppArmor 2.7.103 2012-06-28 AA-AUTODEP(8)