The UNIX and Linux Forums
>
Top Forums
>
UNIX for Dummies Questions & Answers
moving file from one folder to another
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
moving file from one folder to another
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
03-11-2009
Corona688
Registered User
Join Date: Aug 2005
Location: Saskatchewan
Posts: 1,965
Could you do the trimming in the shell itself, i.e.
Code:
"${VARIABLE:0:64}"
for the first 64 letters, instead of letting the command choose the eventual name? That way you'd know exactly what it is. You may need to use
basename
also, to get the filename itself without potentially stripping off directories...
Corona688
View Public Profile
Visit Corona688's homepage!
Find all posts by Corona688
Find Corona688's past nominations received
Find Corona688's present nominations given