I have a folder with several files. These files are either .xml or .zip files.
These .zip files contain .xml and/or .zip files. These .zip contains also .xml or .zip, and so on... until we finally found .xml files.
In others words, I can have several "levels" of zip before finding my .xml files (cf.
I have a bunch of files (45, so too many to edit them manually without going crazy) which all require the same changes (as seen in the three diffs at the end of this question).
Most tools used for search-and-replace on the commandline only support line-by-line replacements so they won't work.
Is there some commandline tool available which can do the job?
Hi there
how to create a command in csh that would print files only from 1 folder but as an argument takes home directory for e.g. in my home diecrtory I have 3 folders unix, windows,mac and alot of files. and I running the program as
Code:
./op ~
this should return me files from unix folder without fikes from the home directory.
Any ideas???
Cheers :rolleyes:
I want to create zip of a folder from command-line. I can do something like
zip -r folder.zip folder. I want to give the zipped folder same name as the original folder. I can simulate this by writing a script:
#!/bin/bash
zip -r $1 $1
And then doing ./script folder.
Is it possible to do this without writing any script?
I am having a very big problem and that is, whenever I add a new user (via command line with adduser krishna command) the user is created but it's home folder or it's own private folder isn't created but some times it works (tried 15 times worked 3 times) so please can anyone help me out.
Hi everyone,
I am learning and using Linux for more than 10 months, learning new things every day. i have a task here today, just want all of ur help to direct me in the right way .
I have a folder with the set of files eg: 1000 jpgs each jpg with the size of 2MB.
Recently I am writing a bash command-line script for maintaining the size of a specific folder.
I have folder ABC and files in ABC are links.
I want to create the same ABC folder in different path and copy the actual files from source ABC dir.
Can anyone provide command for this?
Thanks in advance.
Has anybody used this app much? I got it installed, and I can highlight the files that I want to add to an .iso, but when I hit the
Code:
add
button in the middle of the GUI to try and add the files to create the actual .iso it doesn't do anything at all with the highlighted files.....
So is there something that I am missing here?