10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi I've been trying to find an answer to this question and was hoping someone would be able to help me.
I want to add a sub-folder to to an existing structure: for example
/toys/toy_1/new
/toys/toy_2/new
/toys/toy_3/new
There are humdreds of theses folders - what i want to do is add a... (2 Replies)
Discussion started by: LouSan
2 Replies
2. UNIX for Advanced & Expert Users
Hi
I am new to Linux / scripting language. I need to improve our Linux servers at work and looking to claim some space my deleting log files/ folders on a 5 day basis.
Can someone help me with creating a script to do so.
Any sample script will be helpful.:b:
Regards (2 Replies)
Discussion started by: sachinksl
2 Replies
3. Shell Programming and Scripting
Hello, im trying to create folders from text file and i get errors :(
#!/bin/bash
awk 'BEGIN { RS = "/" } ; { mkdir $1, mkdir $2, mkdir $3, mkdir $4, mkdir $5}' zodziai.txt
im new in linux stuff just trying to learn. The idea is i want to create new folders from words in text file. I... (4 Replies)
Discussion started by: boxstep
4 Replies
4. Shell Programming and Scripting
Hello,
Greetings!
please help me produce the following solution. I need
to produce one big matrix file from several files in different levels.
If it helps, the index folder provides information on chromosome index and
the data folder provides information on values for chromosomes.
there... (8 Replies)
Discussion started by: newbie83
8 Replies
5. UNIX for Dummies Questions & Answers
Hello again,
A little while back I got help with creating a command to search all directories and sub directories for files from daystart of day x.
I'm wondering if there is a command that I've overlooked that may be able to search for / write folder names to an output file which ideally... (2 Replies)
Discussion started by: Aussiemick
2 Replies
6. Shell Programming and Scripting
Hi,
I am new to shell-scripting, and doing a lot of reading. I am having some trouble getting started with a simple testing of scripting. I have been experimenting with if, loops, for, test, etc., but still unsure. I seem to have the hang of it when it comes to creating a single file or... (6 Replies)
Discussion started by: me2
6 Replies
7. Shell Programming and Scripting
I have hundreds of files numbered in consecutive number in one single folder
What I would like to do is to make as many subfolders as needed (dependeing on the number of individual files) and name them Folder01, Folder02, etc.
Then, move file01 to folder01, file02 to folder02 so on and so... (3 Replies)
Discussion started by: Xterra
3 Replies
8. Shell Programming and Scripting
Hi,
Is there a way to use cp in such a way that when a file is copied to a destination, the required destination folders are automatically created with the proper permissions, and the resulting copied file has the same attributes as the original. For example if I copied... (1 Reply)
Discussion started by: pcwiz
1 Replies
9. Shell Programming and Scripting
Hi All,
First of all, I'm a unix newbie so don't be to hard on me :) I'm not even sure if the thing that I want is even possible but here goes nothing:
On my linux based NAS I have the following structure:
videos
|---movie 1
|---movie 2
|---movie 3
|
USBDISK
|---videos
|--- movie... (8 Replies)
Discussion started by: kvb
8 Replies
10. Shell Programming and Scripting
Hi,
I am trying to create some folders on remote server with SFTP connection.
if the folder is exist then it is not executing the next commands.
i.e. if temp/folder is exist then it it not executing
mkdir $folder1
mkdir $folder2 commands.
here is my code.
sftp -b /dev/fd/0 ... (0 Replies)
Discussion started by: vgs
0 Replies