Sponsored Content
Full Discussion: Moving Files Automatically
Operating Systems OS X (Apple) Moving Files Automatically Post 302640903 by glev2005 on Tuesday 15th of May 2012 11:52:55 AM
Old 05-15-2012
Corona688,
I believe he wanted to loop through every directory on his desktop and move the contents of each directly to his desktop. Your solution would definitely work to move the contents of a folder named folder to the desktop, he must have typed the code exactly as you wrote it, not replacing the work folder for his own directory.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How can I automatically find important files???

how can I automatically check if important files exist in a directory and if not, automatically put the important files where they are needed say, I want to put .bashrc and a dozen other important files like it into every user's directory, how can I do this??? how do I check every user's... (4 Replies)
Discussion started by: TRUEST
4 Replies

2. UNIX for Dummies Questions & Answers

moving logs automatically but not removing

hello all, Need assistance on the subject line above. I have a logserver.log located at /usr/local/logserver. It's NSLOGDEPTH=100. I'm not sure if this is the reason but my log file retention is only up to 100 only.. sample logserver001.log logserver002.log ... ... logserver100.log ... (2 Replies)
Discussion started by: lhareigh890
2 Replies

3. UNIX for Dummies Questions & Answers

Copying files automatically

Ok here is my issue. I have processes which will get screwed up and not run because certain log directories wind up filled too much and a directory will have 100,000 files in it. The only way to fix this is to move files out of this directory until the number of files is small enough that the... (7 Replies)
Discussion started by: MrEddy
7 Replies

4. Shell Programming and Scripting

moving the files in a.txt files to a different directory

HI All, I am coding a shell script which will pick all the .csv files in a particular directoryand write it in to a .txt file, this .txt file i will use as a source in datastage for processing. now after the processing is done I have to move and archive all the files in the .txt file to a... (5 Replies)
Discussion started by: subhasri_2020
5 Replies

5. UNIX for Dummies Questions & Answers

Moving Multiple files to destination files

I am running a code like this foreach list ($tmp) mv *_${list}.txt ${chart}_${list}.txt #mv: when moving multiple files, last argument must be a directory mv *_${list}.doc ${chart}_${list}.doc #mv: when moving multiple files, last argument must be a... (3 Replies)
Discussion started by: animesharma
3 Replies

6. Shell Programming and Scripting

Copy files by automatically creating directories

I am in a situation where I have some hundreds of thousands of files in a directory (name of directory: big_directory). Now, working on this directory is extremely slow. I now plan to do this: Copy 1000 files in each of the directories by creating the directories automatically. All files have... (1 Reply)
Discussion started by: shoaibjameel123
1 Replies

7. Shell Programming and Scripting

Finding files with wc -l results = 1 then moving the files to another folder

Hi guys can you please help me with a script to find files with one row/1 line of content then move the file to another directory my script below runs but nothing happens to the files....Alternatively Ca I get a script to find the *.csv files with "wc -1" results = 1 then create a list of those... (5 Replies)
Discussion started by: Dj Moi
5 Replies

8. Shell Programming and Scripting

Delete log files automatically.

Here is the script I want to run to deleted log files after a certain time: touch /usr/WebSphere/AppServer/profiles/AppSrv01/apps/RSA/logs find /usr/WebSphere/AppServer/profiles/AppSrv01/apps/RSA/logs -atime +120 - exec rm -rf {}\; Exerytime I run it, it throws me the error: find: paths must... (2 Replies)
Discussion started by: lennyz04
2 Replies

9. AIX

Moving Hidden files to normal files

I have a bunch of hidden files in a directory in AIX. I would like to move these hidden files as regular files to another directory. Say i have the following files in directory /x .test~1234~567 .report~5678~123 .find~9876~576 i would like to move them to directory /y as test~1234~567... (10 Replies)
Discussion started by: umesh.narain
10 Replies
pyntor-selfrun(1)						      Pyntor							 pyntor-selfrun(1)

NAME
pyntor-selfrun - creation of self-extracting presentation archives SYNOPSIS
pyntor-selfrun [OPTIONS] presentation-archive|presentation-directory DESCRIPTION
Pyntor is a presentation tool which can display slides and effects of various formats. The tool pyntor-selfrun allows one to create self- extracting archives containing both the presentation and Pyntor itself, so that it can be run on computers where Pyntor itself is not installed. It also ensures independence of the corresponding Pyntor version, as future changes of the application do not affect the previ- ously created presentations. The way pyntor-selfrun works is that it takes the presentation-archive in question, packed as a tarball (which might be named *.pyntor), and the release tarball of Pyntor which must be present somewhere. Using a template file, it then creates the self-running and self-extracting script for distribution. In case the presentation-archive does not exist yet, pyntor-selfrun can create it automatically from a presentation-directory. This is use- ful even when not creating self-extracting archives, see the -a option. OPTIONS
-t, --template=templatefile Uses a template different from that one which is shipped with Pyntor and used by default. The template is a script in Python or another scripting language, which contains the variables %PYNTOR% and %ARCHIVE% which are replaced with the base64-encoded contents of the two files given as arguments to pyntor-selfrun. This option is not recommended for most cases. -a, --archive Creates a pyntor presentation-archive from a directory which contains a script file, local data files and optionally some local com- ponents. This is a convenience operation, since presentation archives are just tarballs, but in the future some checks might be done here. -r, --release=sourcetarball Specifies where to find Pyntor itself to include it into the self-extracting archive. The source tarball should be a released pyn- tor-*.tar.gz file. -h, --help Displays a summary of all available command line options. BUGS
In a future version, pyntor-selfrun should allow to create *.pyntor archives automatically by examining a script file, including only those files of Pyntor which it really needs. AUTHORS
Josef Spillner <josef@coolprojects.org> SEE ALSO
pyntor(1), pyntor-components(1) Cool Projects 0.6 pyntor-selfrun(1)
All times are GMT -4. The time now is 08:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy