10 More Discussions You Might Find Interesting
1. Windows & DOS: Issues & Discussions
Hi All,'
I need to write a windows bat program to delete particular folders with naming pattern scoped_dir45666 (for example)(including contents)
with batch program. For that I am using below code:
@echo off
cd /D %temp%
for /d %%D in (*) do rd /s /q "%%D"
del /f /q *
i got above... (0 Replies)
Discussion started by: onenessboy
0 Replies
2. UNIX for Dummies Questions & Answers
Hi All,
I want delete all files from destination folder. I am trying below commands
rsync -avFF --delete-after /home/vizion/source/ /home/vizion/destination/
I need to be delete all file/fodders from destination
Any body have idea ? Please correct me. (3 Replies)
Discussion started by: Chenchireddy
3 Replies
3. Shell Programming and Scripting
Hey, I need help with writing a shell script that deletes empty folders..anyone? :)
Thank you! (5 Replies)
Discussion started by: putukas
5 Replies
4. UNIX for Dummies Questions & Answers
hi again,
having an issue with the code here because it doesnt work :D
can someone point what and how to change, please.
#!/bin/bash
#create directory mylabs, inside create 6 directories named by user.
DIR1="$1"
DIR2="$2"
if ; then
echo -n " there is a folder named mylabs,
what... (1 Reply)
Discussion started by: me.
1 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
How can I delete all the files in subfolders without folders (preserving directory scructure).
P.S. I have a huge variety of computer books organized in subfolders (admin web hardw programming_langs) .. but I don't need them - the only way to know something now is GOOGLE (I've realized now)...... (1 Reply)
Discussion started by: Xcislav
1 Replies
7. Ubuntu
Hi All,
I am new to Forums, as i am struggling for one script i am launched here.
I need to move more than 60,000+ folders in 1,00,000 folders to another server. I have the list of folders which should be moved. can anybody help me in sharing with the script for the above requirement.
... (4 Replies)
Discussion started by: ghimakiran
4 Replies
8. Shell Programming and Scripting
Hi,
I have research data, which is organized to 100 folders numbered 00-99. I have many sets of 100 folders, for different values of initial parameters. For some reason, the computer that ran the program to gather the data, didn't always create a unique seed for each folder. I anticipated that... (1 Reply)
Discussion started by: Jopi
1 Replies
9. Shell Programming and Scripting
Hello,
I'm spendind hours trying to figure out how a script could remove files and folders older than 30days in a given volume (/dataVolumes/Booba.1.0).
Within this volume, all users have their personal folder that starts with "RC-..", so the script should skip them for deletion.
I will... (4 Replies)
Discussion started by: H3001
4 Replies
10. Shell Programming and Scripting
There is directory test:
> ls -rtl
total 12
drwxr-xr-x 2 root sys 4096 Aug 17 09:57 test2
-rw-r--r-- 1 user1 group1 16 Aug 17 10:00 test
-rw-r--r-- 1 user1 group1 16 Aug 17 10:00 test1
-rw-r--r-- 1 user1 group1 16 Aug 17 10:01 test12
-rw-r--r-- 1 user1 group1 16 Aug 17 10:01 test13
... (5 Replies)
Discussion started by: user_junior
5 Replies