Questions tagged as 'find'

4
answers

Remove virus in wordpress with SED in a vps with linux

I have a vps with more than 100 wordpress installations and they all have a script in their header or header.php var _0xfcc4=["\x66\x72\x6F\x6D\x43\x68\x61\x72\x43\x6F\x64\x65","\x47\x45\x54","\x6F\x70\x65\x6E","\x73\x65\x6E\x64","\x72\x65\x73...
asked by 28.09.2018 / 16:03
1
answer

How to handle ERROR .Find (). Column in VBA?

I have the following line of code: columna_inicio = Range("4:4").Find(fecha).Column The problem is that if date does not exist, the program releases an error. How can I handle this? I tried using the Try Catch but I can not get it to...
asked by 27.07.2018 / 11:00
2
answers

access the value of a div within a li element

I have this line <li id="liPryName"> <span><i class="glyphicon glyphicon-folder-open"></i></span> <div class="id">Valor de Id</div></li> I would like with jquery to be able to access the valu...
asked by 18.12.2018 / 19:03
2
answers

How does this Sed command work? [closed]

I wanted to know how this command works letter by letter, I do not understand it. find <directorio> -type d | sed -e 's;[^/]*/;|____;g;s;____|; |;g' The part of find <directorio> -type d I understand it well, which would...
asked by 06.09.2018 / 14:48
2
answers

JPA Key composed for .find () [closed]

I have an entity with compound keys, how can I do the .find () Obj p = XPersistence.getManager().find(Obj.class, ??clave)??; p.setCampoDesc("hola"); XPersistence.getManager().getTransaction().commit(); the class has @Id @Column(...
asked by 28.03.2018 / 13:17
2
answers

List files and delete them with find and rm

I tried to execute this command but I can not get it to list the files with a certain structure with awk and then delete the result. In the following case it deletes them but the output file generates it without information: find /input1/input...
asked by 09.06.2017 / 01:05
0
answers

Search and filter URL in a flat file (Bash) [closed]

I need to do the following: A script that searches in a flat file urls, and if part of the urls coincide, I printed them on the screen or I saved them in another flat file. For example, if I have a flat file with the following content: www....
asked by 02.11.2018 / 02:47
1
answer

Search for a record in mongoDB by a ruc number

I need to look for a record in mongoDb by the NUMERO_RUC using node.js, try for findById and it works perfectly but I want to search for other data that is not the id, you can help me I do not know where my fault is. Method to obtain a record...
asked by 02.09.2018 / 21:57
0
answers

Nodejs + mongodb Do find in different collections at the same time

Good, I am doing an application that to make a "traking" of how a process goes, I have made 3 collections: pending, processing, finished. The first question is: is there a function to move data from one collection to another? What I do now is...
asked by 21.11.2017 / 12:55
1
answer

Copy files from a list contained in another file

I have a file in Linux that contains a list of names of 500 files, I want to detect if they exist on my hard drive, and then copy them to a destination folder called, for example, Encontrados . The file that contains the list of file...
asked by 13.05.2017 / 17:47