Quantcast








     

Group files and pipe to awk command

stackoverflow.com - 2012-04-21 21:25:34 - Similar - Report/Block

I have files in a directory, they are named YYYY_MM_DD -rw-r--r-- 1 root root 497186 Apr 21 13:17 2012_03_25 -rw-r--r-- 1 root root 490558 Apr 21 13:17 2012_03_26 -rw-r--r-- 1 root root 488797 Apr 21 13:17 2012_03_27 -rw-r--r-- 1 root root 316290 Apr 21 13:17 2012_03_28 -rw-r--r-- 1 root root 490081 Apr 21 13:17 2012_03_29 -rw-r--r-- 1 ro...

Copy Files in NSIS

stackoverflow.com - 2010-09-14 18:49:55 - Similar - Report/Block

I am using the following command to copy files. After setting output path... File "Documents\*" This action works flawlessly. There are no issues coping the files in the Documents directory until... if there is a copy of an existing file (with a different name) in the directory only the first instance of the file gets copied regardless of...

How to recursively delete an entire directory with PowerShell 2.0

stackoverflow.com - 2009-11-18 00:43:39 - Similar - Report/Block

What is the simplest way to forcefully delete a directory and all its subdirectories in PowerShell? I am using PowerShell V2 in Windows 7. I have learned from several sources that the most obvious command, Remove-Item $targetDir -Recurse -Force , does not work correctly. This includes a statement in the PowerShell V2 online help (found us...

Listing Files in a Directory using C#

stackoverflow.com - 2013-04-11 11:24:37 - Similar - Report/Block

Seeing my question, you may think it's the possible duplicate of: How to retrieve list of files in directory, sorted by name Of course I had a look on it! I learnt how to retrieve the list of files in a directory. But, I had a tedious googling process to learn how to list the files in a directory in a panel when the form loads. And, I als...

Errors when loading terminal

stackoverflow.com - 2012-04-08 04:42:13 - Similar - Report/Block

Every time I run a new terminal window (before I do a single thing), I am greeted with these messages: env: bash: No such file or directory env: bash: No such file or directory env: bash: No such file or directory env: bash: No such file or directory env: bash: No such file or directory -bash: grep: command not found -bash: tar: command n...

I need to delete all non php files from a linux server or download them

stackoverflow.com - 2012-03-17 16:54:03 - Similar - Report/Block

I have thousands of files, maybe hundreds of thousands of files on a Linux Server and they are in directories, and sub directories - The files are all located in /home/sas/httpdocs - I want to get a copy of the entire directory with just the php files, but preserving the same directory structure - I have two options: either remove ALL of...

File finder Java program : Homework [closed]

stackoverflow.com - 2012-03-22 06:40:00 - Similar - Report/Block

This is my homework, but please read my problem description first. I have to write a Java program as Path of the directory will be passed to the program as command line argument. Then program will prompt for a file name and find all the files with that name. If no argument is passed, program should search directory from previous ru...

If-statement to use only particular file names in R

stackoverflow.com - 2012-05-14 13:40:42 - Similar - Report/Block

I am writing a function which would get all files from a particular directory and then execute some commands on those files that match my criteria. One of the criteria is that the file should not have the name "test.csv", and the other that it shouldn't be a png-file. Now, the thing with test.csv works fine, but I don't get R to ignore pn...

cp dir recursivly excluding 2 subdirs

stackoverflow.com - 2012-02-27 13:05:31 - Similar - Report/Block

I have 1 directory with 9 subdirectories and 10 files. Subdirectory have next level subdirectories and files. /home/directory/ /home/directory/subdirectory1 /home/directory/subdirectory2 /home/directory/subdirectory9 /home/directory/file1 /home/directory/file10 I want to copy all subdirectories and files recursivly excluding: /home/direct...

How to setup Visual Studio to copy required DLL files into the release directory in a release build?

stackoverflow.com - 2012-05-05 17:51:55 - Similar - Report/Block

I remember that Visual Studio did itself do the task of copying required DLL files into the release directory in a release build, but now it doesn't do it anymore, and I have to search all through the C:\WINDOWS\system32 directory and other directories through my system to locate DLL files and paste them into the release directory of a p...

Generating structs with one thread and receiving in different thread with selector

stackoverflow.com - 2013-02-27 12:53:52 - Similar - Report/Block

I'm generating "event" structs in one thread and sending them back to the main thread in several-second intervals. Naturally it doesn't work right. I have two questions: Why do I get a bazillion event received messages in my select loop? Do I need to read from the pipe so the file descriptor no longer says there is stuff there? How do I p...

Export to the same directory in tortoisesvn to obtain unversioned directory

stackoverflow.com - 2013-06-10 15:00:03 - Similar - Report/Block

I have installed the TortoiseSVN ver 1.7.13 and I am trying to obtain an unversioned directory by exporting it to the same URL. I get a window explaining that I will have unversioned directory but nothing happens after clicking OK. Only a message window appears very quickly so that it isn't possible to read it. I can see full log of expor...

evolveStar Join

Postfix piping email to php, permissions error

stackoverflow.com - 2012-03-16 23:57:22 - Similar - Report/Block

I'm attempting to pipe an email to PHP with my Postfix mail server, using the technique mentioned here and have encountered the following error... Mar 16 22:52:52 s15438530 postfix/pipe[9259]: AD1632E84C63: to=<php@[myserver].com>, relay=plesk_virtual, delay=0.61, delays=0.59/0/0/0.02, dsn=4.3.0, status=deferred (temporary failure.

running java application from command line

stackoverflow.com - 2012-07-12 11:36:31 - Similar - Report/Block

I have an eclipse project which I want to run from the command line in ubuntu. After searching on the internet I am trying the following command. java -cp . com.abc.utils.MyClassName I issue this command from the directory that eclipse is using to store all the class files. But I get this error: Exception in thread "main" java.lang.NoClas...

How to indicate the current directory of the script not me?

stackoverflow.com - 2013-03-18 10:34:01 - Similar - Report/Block

I have a python script that reads some input from a file that is supposed to be in the same directory of the script: with open('./input1.txt') as file: F = file.readlines() Do_Stuff(F) I usually run the script from other directories (not the directory the script and input files reside), so it raises an IOError that it can't find the inpu...

applying R script prepared for single file to multiple files in the directory

stackoverflow.com - 2012-04-02 21:03:23 - Similar - Report/Block

I have prepared a r script and trying to apply the same codes in multiple files currently working with 5 sample files (but trying to learn to work with files over 100) in the directory to learn how to work with multiple files. Sorry for the quality of codes I have written as I am currently learning R and I am sure there are much better an...

How to list files in a directory based on part of the whole name using R?

stackoverflow.com - 2013-03-01 16:00:30 - Similar - Report/Block

I have several nc files in a directory. The naming of the files is complex,for instance : LPRM-AMSR_E_L3_D_SOILM3_V002-20120601T21 4436Z_20100801.nc when I want to list the files so that I can work with them,it seemed that R listed them wrongly. How can I tell R to forget everything in the long name and just list(rank the files) the files...

Error in perlipc documentation?

stackoverflow.com - 2012-05-05 00:27:45 - Similar - Report/Block

I'm trying to puzzle through something I see in the perlipc documentation. If you're writing to a pipe, you should also trap SIGPIPE. Otherwise, think of what happens when you start up a pipe to a command that doesn't exist: the open() will in all likelihood succeed (it only reflects the fork()'s success), but then your output will f...

How to see only new files in output when executing "cvs -n update" command?

stackoverflow.com - 2012-07-14 10:48:41 - Similar - Report/Block

When I do " cvs -n update " command I get a long list of files that are modified, missing or new. In the output, I want to see only new files, it means I want to see lines starting with "?". Then I will do " cvs add file_name " and add the new files to repository. My project is in Linux environment. Is there a special command to get that...

Why doesn't Scala's implicit class work when one of the type parameters should be Nothing?

stackoverflow.com - 2013-03-09 12:05:15 - Similar - Report/Block

I have an implicit class that defines an enrichment method: implicit class PipeEnrich[I,O,R](val pipe: Pipe[I,O,R]) extends AnyVal { def >->[X](that: Pipe[O,X,R]): Pipe[I,X,R] = Pipe.fuse(pipe, that); def <-<[X](that: Pipe[X,I,R]): Pipe[X,O,R] = Pipe.fuse(that, pipe); //... object Pipe { def pipe[I,O,X,R](i: Pipe[I,O,R], o: Pipe[O,X,R]...

Fatal Error While Running Artisan (Laravel) on Command Line

stackoverflow.com - 2012-06-13 07:19:48 - Similar - Report/Block

I am experiencing a fatal error while using artisan on the (fantastic) Laravel PHP framework. I recently downloaded v3.2.1 of Laravel, and I tried running the following command line from within the directory that artisan resides: php artisan key:generate This should create a random key for me in my applications/application.php file. (Plea...

Steampunk e-pipe

e-cigarette-forum.com - 2013-03-14 15:09:32 - Similar - Report/Block

So I was kind of commissioned to make this after a classmate of mine saw my DNA-hammer mod. He doesn't vape, he doesn't even smoke! He wanted something to go with his steampunk costume (he's into cosplay). The fact that it puts out steam is a bonus to him :D I'll be giving him some zero-nic to use in it. I really like the look of brass a...

For Trade: MIO Orig HGM pipe to your Orig DBS pipe or other Pipe (for stock engine)

istorya.net - 2013-05-05 04:36:45 - Similar - Report/Block

MIO Orig HGM pipe to your Orig DBS pipe or other Pipe (for stock engine) Hello mga istoryans! Want to trade my Orig HGM pipe with some scratches.. Willing to add cash, depende sa condition.. Post your offers or contact me at 0922-5447500 Pics:...

FS: 3G TL ATLP V2 J-pipe needs some work+ FREE oem 6speed MT FSB

acurazine.com - 2013-06-04 03:09:14 - Similar - Report/Block

I Have for sale my ATLP V2 j pipe thats gonna need a new flex pipe. Long story short some unavoidable road debri got under the car and stretched the flex pipe part on the j pipe. Nothing else is wrong with the pipe. I've used it for about 8-10k miles. Also I will throw in for FREE to the buyer an oem 6speed MT front sway bar, this would b...

How can I set ZeroMQ swap files location for pyzmq?

stackoverflow.com - 2011-08-18 17:32:23 - Similar - Report/Block

I am using django and pyzmq, also ZeroMQ PUB and SUB sockets with configured HWM (high watermark) and disk SWAP. ZeroMQ creates it's swap files (like zmq_10976_0.swap) inside the root directory of django site. Process which use ZeroMQ is created by django action so I assume that swap files are simply placed to the current directory. How c...

How can I use a batch file to MSBuild solutions in multiple directories at once?

stackoverflow.com - 2012-03-07 21:56:53 - Similar - Report/Block

I am an intern with a start-up company. I don't know anything about Batch files, XML files, the command prompt, or msbuild. I only know the basics of C#. I have been asked to make a batch file that allows a user to build ALL solutions in a directory, with seven subfolders, in one command. I know how to build one solution in a single folde...

Executing PYTHON code in UNIX

stackoverflow.com - 2012-05-02 05:42:29 - Similar - Report/Block

I have written a python prog. to analyze a set of files present in a given directory i.e. it asks for a path then it goes in the path directory and find specified files and process 'em and give outfile. But the problem is everytime I want to execute the program through UNIX I have to write 'python my_prog.py and also to process a director...

How can I open all files in a directory with sublime text 2?

stackoverflow.com - 2013-05-02 05:20:19 - Similar - Report/Block

I am using windows and have successfully added sublime to the PATH. It seems that commands like -b for open in background do not work for whatever reason. My question is how can I open a directory with the command subl ./dir and open each file individually? Right now it adds it to the project and I would much rather it just open every fil...

Replay a file-based data stream

stackoverflow.com - 2012-03-29 13:39:07 - Similar - Report/Block

I have a live stream of data based on files in different formats. Data comes over the network and is written to files in certain subdirectories in a directory hierarchy. From there it is picked up and processed further. I would like to replay e.g. one day of this data stream for testing and simulation purposes. I could duplicate the data...

Restrict access to files using .htaccess

techguy.org - 2013-03-21 09:05:23 - Similar - Report/Block

I'd like assistance in setting up a .htaccess, which would restrict access to all files in the directory "/files/" on the remote server, accordingly I placed a .htaccess file (see code below) in the "/files/" directory, however it denies access to everything in that folder, exactly as planned but not quite, the problem is when a user clic...

Web.Config files and locations

stackoverflow.com - 2012-02-21 23:52:26 - Similar - Report/Block

We have a whole bunch of websites with very similar web.config files. Can you centralise the duplicate configs in 1 config file before the root directory of each website? Or is the only option machine.config? We are looking to centralise an assembly reference in the GAC. Structure: Containing Directory Website 1 Directory Website 2 Direct...

Bash script to find files based on filename and do search replace on them

stackoverflow.com - 2012-05-09 21:16:35 - Similar - Report/Block

I have a bunch of files (with same name, say abc.txt) strewn all over the network filesystem. I need to recursively search for each of those files and once I find each one, do a content search and replace on them. After some research, I see that I can find the files using the find command (with -r to recurse right?). Something like: find...

Set "Allow clients to upload files" for an IIS Virtual Directory using Powershell

stackoverflow.com - 2012-05-11 12:26:52 - Similar - Report/Block

I am working on an automated set up of a web server using PowerShell and I need to create a virtual directory which I am able to do using the following code New-Item 'IIS:\Sites\Default Web Site\folder' -type VirtualDirectory -physicalPath $folder I also need to set this virtual directory so that it will allow clients to upload files, whi...

Android ACTION_IMAGE_CAPTURE intent returns null on onActivityResult

stackoverflow.com - 2013-04-26 13:33:18 - Similar - Report/Block

We are facing an issue for passing intent data to protected void onActivityResult(int requestCode, int resultCode, Intent data) method when we start ACTION_IMAGE_CAPTURE intent getting null for intent Here is my code for starting camera activity and passing data to the onActivityResult() public void takePicture() File directory = new Fi...

SSH as user allowing temporary root access in Linux

stackoverflow.com - 2012-02-27 18:07:31 - Similar - Report/Block

I want to SSH a CentOS server as user X, say (not root). I then want to transfer files to the server. That is easy enough. But then I want to move the files to a "pool" where all users can access them, i.e. outside user X's directory. Can I do this? I don't want to login as root for various reasons, including security issues. I basically...

How to access additional files deployed to weblogic

stackoverflow.com - 2012-03-30 16:10:44 - Similar - Report/Block

I have an EJB that uses additional resource files (textual template files placed in a directory called "templates"). I don't know how to access the content of the "templates" directory from the JEE application. I've tried to place the directory as the "EarContent/templates" or "EarContent/APP-INF/lib/templates" folder in the EAR project.

Django get static media files

stackoverflow.com - 2012-07-15 09:32:41 - Similar - Report/Block

All, i am using Django1.4,i have a question regarding accessing the img files,js files etc... I have my files in the directory /opt/lab/labsite/media/img for images and /opt/lab/labsite/media/js for javascript files.What should i change the settings in the setting files such that the below html works..I am using django server to run the c...

Regex matching a dll but not the directory

stackoverflow.com - 2012-05-16 00:22:18 - Similar - Report/Block

I have a conf file that is loading plugins. I need to parse and match a certain plugin in a directory but not others in the same directory: plugin: c:\program files pplication bc bc.dll plugin: c:\program files pplication bc\xyz.dll I need to match the abc.dll only but due to the fact that the abc is also in the dir name, it matches both...

Does "cp -r" behave oddly in bash?

stackoverflow.com - 2012-08-03 05:32:27 - Similar - Report/Block

I'm working on a bash script to bootstrap a cloud server with the puppet client so that I can create a boot image, but I'm getting weird behavior from a simple "cp -r" where the contents of my source directory are being copied, but the parent directory is not being copied. For example, if I had /root/puppet/file1, and I issued a cp -r /ro...

Getting latest directory from another server

stackoverflow.com - 2013-02-26 11:01:25 - Similar - Report/Block

Test1 Server :- ut1-2013.02. -04.42.15 , ut1-2013.02. -09.21.11 , ut1-2013.02. -09.22.32 (Dir's) Test2 Server :- ut1-2013.02. -09.21.11 , ut1-2013.02. -09.22.32 There are two servers :- Test1 and Test2 Having Directories :- As shown above Latest Directory in test1 server :- ut1-2013.02. -04.42.15 Latest Directory in test2 server :- ut1-20...




dialogShowMessage!

Fill out the form you see below. Registration is free, fast and simple.
If you are already registered, sign in page login.


Web Site :
Required Field
First Name :
Required Field
Last Name :
Required Field
Email :
Required Field
Sex :
Required Field

evolveStar.com is free for ever !


evolveStar.com provides a search engine that allows you to gather information to write their own blog.


evolveStar.com enhances the sources displaying the logo of the site.


If you want to remove your site or you believe a site listed infringes copyright, please report it to: info@evolvestar.com


Specifies the subject copyright violation and the url of the page


evolveStar.com respecting the law DMCA (Digital Millennium Copyright Act) will immediately remove whatever its merits.


Next will be effectual and relevant checks.







Who We Are Partner Advertising Contacts Privacy terms Help & FAQ

© Copyright 2010-2017 Fabrizio Fichera. All rights reserved.